mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-06 09:03:25 +00:00
Use bundle exec.
git-svn-id: http://svn.redmine.org/redmine/trunk@13589 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a0ca45b99c
commit
05edd89811
@ -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.
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user