在Bitnami Redmine 3.1.1上安装Knowledgebase插件

时间:2015-11-27 11:30:26

标签: ruby rake redmine bitnami redmine-plugins

我正在尝试在Bitnami Redmine 3.1.1(在Windows Server 2012R2上运行)上安装Knowledgebase plugin。我尝试如下但没有运气。

  1. 已下载redmine-3.0-compat 并将其复制到htdocs \ plugins并将解压缩的文件夹重命名为“redmine_knowledgebase”。

  2. 从Github下载act-as-taggable-on和redmine_acts_as_taggable_on并将它们放入htdocs \ lib \ plugins

  3. 打开“Bitnami Redmine Stack Environment”窗口并执行“bundle install --no-deployment”

  4. 执行“rake redmine:插件RAILS_ENV =生产”

  5. 然后我收到以下错误,插件无效。

      耙子流产了!   
    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:in h' 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运行任务查看完整跟踪)

    有谁知道如何解决这个问题?

    提前致谢。

2 个答案:

答案 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,然后运行迁移。