Commit c85d28f92cf6b10cdfeb79e6657b7453c36e1650
1 parent
645651de
Exists in
master
and in
22 other branches
Adapt ./script/development to Rails 3
I think we should just use foreman instead, though.
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
script/development
| ... | ... | @@ -5,16 +5,14 @@ export RAILS_ENV=development |
| 5 | 5 | stop() { |
| 6 | 6 | ./script/delayed_job stop |
| 7 | 7 | ./script/feed-updater stop |
| 8 | - rake -s solr:stop | |
| 9 | 8 | exit |
| 10 | 9 | } |
| 11 | 10 | |
| 12 | 11 | start() { |
| 13 | 12 | ./script/feed-updater start |
| 14 | - rake -s solr:start | |
| 15 | 13 | ./script/delayed_job start |
| 16 | 14 | trap stop INT TERM |
| 17 | - ./script/server $@ | |
| 15 | + rails s $@ | |
| 18 | 16 | } |
| 19 | 17 | |
| 20 | 18 | start $@ | ... | ... |