我正在尝试在Bitnami Redmine 3.1.1(在Windows Server 2012R2上运行)上安装Knowledgebase plugin。我尝试如下但没有运气。
已下载redmine-3.0-compat 并将其复制到htdocs \ plugins并将解压缩的文件夹重命名为“redmine_knowledgebase”。
从Github下载act-as-taggable-on和redmine_acts_as_taggable_on并将它们放入htdocs \ lib \ plugins
打开“Bitnami Redmine Stack Environment”窗口并执行“bundle install --no-deployment”
执行“rake redmine:插件RAILS_ENV =生产”
然后我收到以下错误,插件无效。
耙子流产了!
LoadError:无法加载此类文件 - generators / acts_as_taggable_on / migration / 板/ active_record /迁移
C:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/plugins/redmine_acts_as_ta ble_on / lib / redmine_acts_as_taggable_on / migration.rb:1:in<top (required)>' C:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/plugins/redmine_acts_as_ta ble_on/lib/redmine_acts_as_taggable_on/initialize.rb:3:in
' C:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/plugins/redmine_knowledgebase/ t.rb:2:<top (required)>' C:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/redmine/plugin.rb:155:in
ck in load' C:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/redmine/plugin.rb:146:inh' C:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in
d” C:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/config/initializers/30-redmine :21:<top (required)>' C:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/config/environment.rb:14:in
&lt; (需要)&GT;” C:/Bitnami/redmine-3.1.1-0/apps/redmine/htdocs/lib/tasks/redmine.rake:52:in` ck(2级)in' 任务:TOP =&gt; redmine:plugins:migrate =&gt;环境 (通过使用--trace运行任务查看完整跟踪)
有谁知道如何解决这个问题?
提前致谢。
答案 0 :(得分:1)
Bitnami开发者在这里。
该插件似乎与您的Redmine版本不兼容。它仅与Redmine 2.5.x,2.4.x,2.3.x,2.2.x兼容。 你可以在这里查看: https://www.redmine.org/plugins/redmine_knowledgebase
我希望它有所帮助。
答案 1 :(得分:1)
快速解决方法是从知识库中删除db/migrate/20130513154700_add_tags_and_taggings.rb
,然后运行迁移。