Problems with installing plug-ins redmine_release_notes
1, redmine_release_notes:https://github.com/hdgarrood/redmine_release_notes
2. Installation Environment: Local redmine2.3.4
3. Problems occurred:
- Follow the installation steps on the installation:
do the migrations.
rake redmine:plugins:migrate
Load the default formats (optional, recommended). If you've been using earlier versions, this would read your formats.yml and put them into the database (which are what you w ANT).
rake redmine:plugins:release_notes:load_default_formats
Restart Redmine.
4, the cause of the problem
we're using the production database in Config/database.yml.
5. Solutions
Add rails_env=productionto the command line as follows:
rake db:migrate_plugins rails_env= ' production '
Rails_env=production Rake Redmine:plugins:release_notes:load_default_formats
Finally, the problem is solved!
Rake aborted! When installing plugin redmine_release_notes Unknown database ' Redmine_development '