Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Redmine中安装Backlog插件时出错_Redmine_Backlog - Fatal编程技术网

在Redmine中安装Backlog插件时出错

在Redmine中安装Backlog插件时出错,redmine,backlog,Redmine,Backlog,我有以下问题。我正在尝试将“redmine_Backlog”版本1.0.6插件安装在一个具有redmine 3.2.0和Ruby 2.0.0版本的环境中 当我下载插件,将其托管在redmine安装的插件目录中,并且在遵循文档时,我发出命令bundle exec rake db:migrate时,会出现以下错误: [!] There was an error parsing `Gemfile`: [!] There was an error parsing `Gemfile`: You canno

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

当我下载插件,将其托管在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

一般建议中删除该行应该是安全的:backlog插件不再处于活动开发中,根据说明,它根本不支持Redmine 3.x。您可能想四处寻找一个替代方案(即Redmine Agile插件)。谢谢您的回复。最后,我必须删除一些宝石,给我同样的错误。完成!现在错误不同了:rake中止!ArgumentError:范围主体需要可调用。当我执行rake redmine:plugins:migrateThat时,这很可能是因为Backlog插件不适合与redmine 3使用的Rails版本一起使用。正如我在之前的评论中所说,不要使用它,它是未维护的。