Merge pull request #1965 from florianbeer/master

Adds "bundle exec" prefix to rake tasks
This commit is contained in:
Régis Hanol 2014-02-17 15:51:40 +01:00
commit e1bb5d8f01

View File

@ -61,9 +61,9 @@ On oldserver:
On the new server:
```
bundle install --without test --deployment
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production rake db:migrate
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production rake assets:precompile
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production rake posts:rebake
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake db:migrate
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake assets:precompile
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake posts:rebake
```
If the `rake db:migrate` step fails, you might have to run it twice.