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,11 +15,7 @@ env = if envs.include?(ARGV[0]) | ||
| 15 | puts green " == Install for ENV=#{env} ..." | 15 | puts green " == Install for ENV=#{env} ..." |
| 16 | 16 | ||
| 17 | # bundle install | 17 | # bundle install |
| 18 | -if env == "production" | ||
| 19 | -`bundle install --without development test` | ||
| 20 | -else | ||
| 21 | `bundle install` | 18 | `bundle install` |
| 22 | -end | ||
| 23 | 19 | ||
| 24 | # migrate db | 20 | # migrate db |
| 25 | `bundle exec rake db:create RAILS_ENV=#{env}` | 21 | `bundle exec rake db:create RAILS_ENV=#{env}` |
update.rb
| @@ -17,12 +17,7 @@ puts green " == Update for ENV=#{env}" | @@ -17,12 +17,7 @@ puts green " == Update for ENV=#{env}" | ||
| 17 | # pull from github | 17 | # pull from github |
| 18 | `git pull` | 18 | `git pull` |
| 19 | 19 | ||
| 20 | -# bundle install | ||
| 21 | -if env == "production" | ||
| 22 | -`bundle install --without development test` | ||
| 23 | -else | ||
| 24 | `bundle install` | 20 | `bundle install` |
| 25 | -end | ||
| 26 | 21 | ||
| 27 | # migrate db | 22 | # migrate db |
| 28 | `bundle exec rake db:migrate RAILS_ENV=#{env}` | 23 | `bundle exec rake db:migrate RAILS_ENV=#{env}` |