Adds "bundle exec" prefix to rake tasks

This commit is contained in:
Florian Beer 2014-02-17 14:42:46 +01:00
parent aac4b55926
commit 4e9f65f1e1
1 changed files with 3 additions and 3 deletions

View File

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