lib/cany/recipes/bundler.rb in cany-0.5.3 vs lib/cany/recipes/bundler.rb in cany-0.5.4
- old
+ new
@@ -35,10 +35,10 @@
ENV['GEM_HOME'] = File.absolute_path('debian/gems')
old_home = ENV['HOME']
ENV['HOME'] = File.absolute_path('debian')
ruby_bin 'gem', %w(install bundler --version ~>1.6.5 --no-ri --no-rdoc --install-dir bundler --bindir bundler/bin)
ENV['HOME'] = old_home
- ruby_bin 'bundle', %w(install --deployment --without), skipped_groups
+ ruby_bin 'bundle', %w(install --deployment --retry 3 --without), skipped_groups
inner.build
end
def binary
install 'bundler', "/usr/share/#{spec.name}"