summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
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)