lib/cany/recipes/bundler.rb in cany-0.5.1 vs lib/cany/recipes/bundler.rb in cany-0.5.2
- old
+ new
@@ -33,10 +33,10 @@
ENV['GEM_PATH'] = 'bundler'
ENV['PATH'] = 'bundler/bin:' + ENV['PATH']
ENV['GEM_HOME'] = File.absolute_path('debian/gems')
old_home = ENV['HOME']
ENV['HOME'] = File.absolute_path('debian')
- ruby_bin 'gem', %w(install bundler --no-ri --no-rdoc --install-dir bundler --bindir bundler/bin)
+ ruby_bin 'gem', %w(install bundler --version '~> 1.6' --no-ri --no-rdoc --install-dir bundler --bindir bundler/bin)
ENV['HOME'] = old_home
ruby_bin 'bundle', %w(install --deployment --without), skipped_groups
inner.build
end