Commit 06f72627 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

w/o option was a bad idea

parent c040af63
...@@ -15,11 +15,7 @@ env = if envs.include?(ARGV[0]) ...@@ -15,11 +15,7 @@ env = if envs.include?(ARGV[0])
puts green " == Install for ENV=#{env} ..." puts green " == Install for ENV=#{env} ..."
# bundle install # bundle install
if env == "production"
`bundle install --without development test`
else
`bundle install` `bundle install`
end
# migrate db # migrate db
`bundle exec rake db:create RAILS_ENV=#{env}` `bundle exec rake db:create RAILS_ENV=#{env}`
......
...@@ -17,12 +17,7 @@ puts green " == Update for ENV=#{env}" ...@@ -17,12 +17,7 @@ puts green " == Update for ENV=#{env}"
# pull from github # pull from github
`git pull` `git pull`
# bundle install
if env == "production"
`bundle install --without development test`
else
`bundle install` `bundle install`
end
# migrate db # migrate db
`bundle exec rake db:migrate RAILS_ENV=#{env}` `bundle exec rake db:migrate RAILS_ENV=#{env}`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment