Actions
task #22
closedBasic bundler question: You cannot specify the same gem twice with different version requirements.
Redmine version:
4.0.x
Description
Hi,
Hopefully this is just a basic bundler/rails question. I have redmine installed, but am not overly familiar with how rails/gems/bundler works.
From looking online, people suggest that you have to edit one or more Gemfiles to get around the error, but I'm not sure if I'm doing something basic that is simpler to fix than that.
I tried to install the issue_recurring plugin following your instructions:
cd plugins git clone https://github.com/cryptogopher/issue_recurring.git cd issue_recurring git checkout tags/1.5 cd ../.. bundle install --verbose
But then hit this error:
[!] 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: mocha (>= 1.4.0) and mocha (>= 0). Bundler cannot continue. # from /var/www/projects/redmine/redmine-4.0.6/plugins/issue_recurring/Gemfile:3 # ------------------------------------------- # gem 'web-console' > gem 'mocha' # end # ------------------------------------------- . Bundler cannot continue. # from /var/www/projects/redmine/redmine-4.0.6/Gemfile:101 # ------------------------------------------- # Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file| > eval_gemfile file # end # -------------------------------------------
Some system details:
OS: Ubuntu 18.04
ruby: 2.5.1
rails: 4.2.10
redmine: 4.0.6
Any help would be welcomed.
Thanks,
Paddy
Actions