w/o option was a bad idea
This commit is contained in:
parent
6a60365fed
commit
912a383d9b
2 changed files with 0 additions and 9 deletions
|
@ -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}`
|
||||
|
|
Loading…
Add table
Reference in a new issue