Commit 912a383d9b610701ab515e0a08e588da9648304d
1 parent
6a60365f
Exists in
master
and in
4 other branches
w/o option was a bad idea
Showing
2 changed files
with
0 additions
and
9 deletions
Show diff stats
install.rb
... | ... | @@ -15,11 +15,7 @@ env = if envs.include?(ARGV[0]) |
15 | 15 | puts green " == Install for ENV=#{env} ..." |
16 | 16 | |
17 | 17 | # bundle install |
18 | -if env == "production" | |
19 | -`bundle install --without development test` | |
20 | -else | |
21 | 18 | `bundle install` |
22 | -end | |
23 | 19 | |
24 | 20 | # migrate db |
25 | 21 | `bundle exec rake db:create RAILS_ENV=#{env}` | ... | ... |
update.rb
... | ... | @@ -17,12 +17,7 @@ puts green " == Update for ENV=#{env}" |
17 | 17 | # pull from github |
18 | 18 | `git pull` |
19 | 19 | |
20 | -# bundle install | |
21 | -if env == "production" | |
22 | -`bundle install --without development test` | |
23 | -else | |
24 | 20 | `bundle install` |
25 | -end | |
26 | 21 | |
27 | 22 | # migrate db |
28 | 23 | `bundle exec rake db:migrate RAILS_ENV=#{env}` | ... | ... |