提交 06f72627 编写于 作者: D Dmitriy Zaporozhets

w/o option was a bad idea

上级 c040af63
......@@ -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}`
......
......@@ -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}`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册