From 05edd8981101d35cf621c72d1ebb9cb88e30a5f1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 11 Nov 2014 21:13:18 +0000 Subject: Use bundle exec. git-svn-id: http://svn.redmine.org/redmine/trunk@13589 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- doc/INSTALL | 4 ++-- doc/UPGRADING | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/INSTALL b/doc/INSTALL index 68fd230e2..b42685c51 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -51,12 +51,12 @@ Optional: Redmine stores session data in cookies by default, which requires a secret to be generated. Under the application main directory run: - rake generate_secret_token + bundle exec rake generate_secret_token 6. Create the database structure Under the application main directory run: - rake db:migrate RAILS_ENV="production" + bundle exec rake db:migrate RAILS_ENV="production" It will create all the tables and an administrator account. diff --git a/doc/UPGRADING b/doc/UPGRADING index d17866d63..d84057c55 100644 --- a/doc/UPGRADING +++ b/doc/UPGRADING @@ -46,7 +46,7 @@ http://www.redmine.org/ Redmine stores session data in cookies by default, which requires a secret to be generated. Under the new application directory run: - rake generate_secret_token + bundle exec rake generate_secret_token DO NOT REPLACE OR EDIT ANY OTHER FILES. @@ -55,19 +55,18 @@ http://www.redmine.org/ If you are upgrading to Rails 2.3.14 as part of this migration, you need to upgrade the plugin migrations before running the plugin migrations using: - rake db:migrate:upgrade_plugin_migrations RAILS_ENV="production" + bundle exec rake db:migrate:upgrade_plugin_migrations RAILS_ENV="production" Please make a backup before doing this! Under the new application directory run: - rake db:migrate RAILS_ENV="production" + bundle exec rake db:migrate RAILS_ENV="production" If you have installed any plugins, you should also run their database migrations using: - rake db:migrate_plugins RAILS_ENV="production" + bundle exec rake db:migrate_plugins RAILS_ENV="production" 8. Clear the cache and the existing sessions by running: - rake tmp:cache:clear - rake tmp:sessions:clear + bundle exec rake tmp:cache:clear tmp:sessions:clear 9. Restart the application server (e.g. mongrel, thin, passenger) -- cgit v1.2.3