繁体   English   中英

在 Redmine 中安装积压插件时出错

[英]Error installing backlogs plugin in Redmine

我有以下问题。 我正在尝试在具有 Redmine 3.2.0 和 Ruby 2.0.0 版本的环境中安装“redmine_backlogs”版本 1.0.6 插件

当我下载插件时出现问题,我将它托管在我的 redmine 安装的插件目录中,并且在遵循文档时,我发出命令 bundle exec rake db: migrate 给我以下错误:

[!] There was an error parsing `Gemfile`:
[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice with different version requirements.
You specified: capybara (> = 0) and capybara (~> 1.1.0). Bundler cannot continue.

 # from / var / www / redmine / plugins / redmine_backlogs / Gemfile: 51
 # -------------------------------------------
 # unless chiliproject
 > gem "capybara", "~> 1.1.0"
 # gem "poltergeist", "~> 0.6.0"
 # -------------------------------------------
. Bundler cannot continue.

 # from / var / www / redmine / Gemfile: 110
 # -------------------------------------------
 # Dir.glob File.expand_path ("../ plugins / * / {Gemfile, PluginGemfile}", __FILE__) do | file |
 > eval_gemfile file
 # end
 # -------------------------------------------

我找不到解决它的方法,以便正确安装它。

有什么额外的帮助吗?

非常感谢您提前。

你的插件在它的根目录中有一个Gemfile ,它有一个capybara gem 的条目。

Bundler 现在抱怨是因为 Redmine 或其他插件在他们的 Gemfile 中有相同库的条目,但版本要求冲突。

由于 Capybara 仅用于运行测试,因此从 backlog 插件的Gemfile删除该行应该是安全的。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM