diff --git a/install.rb b/install.rb index de6b83c5..a118cb5d 100644 --- a/install.rb +++ b/install.rb @@ -15,11 +15,7 @@ env = if envs.include?(ARGV[0]) puts green " == Install for ENV=#{env} ..." # bundle install -if env == "production" -`bundle install --without development test` -else `bundle install` -end # migrate db `bundle exec rake db:create RAILS_ENV=#{env}` diff --git a/update.rb b/update.rb index 9dae135e..d7eec289 100644 --- a/update.rb +++ b/update.rb @@ -17,12 +17,7 @@ puts green " == Update for ENV=#{env}" # pull from github `git pull` -# bundle install -if env == "production" -`bundle install --without development test` -else `bundle install` -end # migrate db `bundle exec rake db:migrate RAILS_ENV=#{env}`