From 4e9f65f1e1fbd44824122f97a18c3f9962f9f7fa Mon Sep 17 00:00:00 2001 From: Florian Beer Date: Mon, 17 Feb 2014 14:42:46 +0100 Subject: [PATCH 1/2] Adds "bundle exec" prefix to rake tasks --- docs/MIGRATION.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/MIGRATION.md b/docs/MIGRATION.md index 44a9bda6db..1a5958b73e 100644 --- a/docs/MIGRATION.md +++ b/docs/MIGRATION.md @@ -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 + RAILS_ENV=production bundle exec rake db:migrate + RAILS_ENV=production bundle exec rake assets:precompile + RAILS_ENV=production bundle exec rake posts:rebake ``` If the `rake db:migrate` step fails, you might have to run it twice. From b88cfc3bb81ebde89653ac5e919c393f2edf4cc5 Mon Sep 17 00:00:00 2001 From: Florian Beer Date: Mon, 17 Feb 2014 15:47:56 +0100 Subject: [PATCH 2/2] Adds bundle exec prefix to rake tasks --- docs/MIGRATION.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/MIGRATION.md b/docs/MIGRATION.md index 1a5958b73e..76b369e496 100644 --- a/docs/MIGRATION.md +++ b/docs/MIGRATION.md @@ -61,9 +61,9 @@ On oldserver: On the new server: ``` bundle install --without test --deployment - RAILS_ENV=production bundle exec rake db:migrate - RAILS_ENV=production bundle exec rake assets:precompile - RAILS_ENV=production bundle exec 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.