scripts/webapp.rb in standup-0.6.1 vs scripts/webapp.rb in standup-0.6.2
- old
+ new
@@ -78,11 +78,11 @@
def install_gems
with_context(:user => 'www-data', :path => app_path) do
case params.gem_manager.to_sym
when :bundler
- install_gem 'bundler', '1.0.18'
- sudo 'bundle install'
+ install_gem 'bundler', '1.0.21'
+ sudo 'bundle install --deployment'
when :rake_gems
cmd = "RAILS_ENV=#{params.rails_env} rake gems:install"
output = sudo cmd
if output.match(/Missing the Rails ([\d\.]+) gem/) || output.match(/RubyGem version error: rails\([\d\.]+ not = ([\d\.]+)\)/)
install_gem 'rails', $1