首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Redmine中安装backlog插件时出错

在Redmine中安装backlog插件时出错
EN

Stack Overflow用户
提问于 2019-12-17 18:09:18
回答 1查看 56关注 0票数 0

我有以下问题。我正在尝试将"redmine_backlogs“1.0.6版插件安装在带有Redmine 3.2.0和Ruby2.0.0版本的环境中

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

代码语言:javascript
复制
[!] 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
 # -------------------------------------------

我找不到一种方法来解决它,所以它是正确安装的。

有什么额外的帮助吗?

非常提前感谢您。

EN

回答 1

Stack Overflow用户

发布于 2019-12-18 09:14:35

您的插件在其根目录中有一个Gemfile,其中包含一个capybara gem条目。

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

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59371876

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档