安装scrumbler插件以进行redmine时出现内部错误

时间:2014-04-16 06:50:52

标签: mysql ruby-on-rails redmine redmine-plugins

我已根据SCRUM方法将scrumbler插件安装到Redmine进行项目管理:

  cd plugins
 git clone git://github.com/256MbTeam/Redmine-Scrumbler.git redmine_scrumbler
 rake redmine:plugins:migrate

我已进入浏览器:http://localhost/scrumbler/admin

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error

在日志文件中:

Completed 500 Internal Server Error in 7ms

ActiveRecord::StatementInvalid (Mysql2::Error: Table 'redmine_production.scrumbler_project_settings' doesn't exist: SELECT `projects`.* FROM `projects` INNER JOIN `scrumbler_project_settings` ON `scrumbler_project_settings`.`project_id` = `projects`.`id`):
  activerecord (3.2.12) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in `query'

1 个答案:

答案 0 :(得分:0)

解决!

rake redmine:plugins:migrate RAILS_ENV=production

而不是

rake redmine:plugins:migrate