summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-11 21:13:18 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-11 21:13:18 +0000
commit05edd8981101d35cf621c72d1ebb9cb88e30a5f1 (patch)
treecf354699196fd00f5b813ea324a161d5f481db13 /doc
parenta0ca45b99c88bbc41949a1295676a579d7e40296 (diff)
downloadredmine-05edd8981101d35cf621c72d1ebb9cb88e30a5f1.tar.gz
redmine-05edd8981101d35cf621c72d1ebb9cb88e30a5f1.zip
Use bundle exec.
git-svn-id: http://svn.redmine.org/redmine/trunk@13589 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'doc')
-rw-r--r--doc/INSTALL4
-rw-r--r--doc/UPGRADING11
2 files changed, 7 insertions, 8 deletions
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)