Rake aborted! When installing plugin redmine_release_notes Unknown database ' Redmine_development '

Source: Internet
Author: User
Tags redmine

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.

    • The problem occurs: in the execution
      rake redmine:plugins:migrate命令时,出现Rake aborted! Unknown database ' Redmine_development '
    • The following behavior occurs when configuring Redmine_release_notes


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 '

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.