f0y / due_date_reminder

Redmine plugin that sends notifications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error parsing Gemfile

e-belair opened this issue · comments

Hi, i get this error while installing the plugin:

$ bundle exec rake redmine:plugins:migrate RAILS_ENV=production
[!] 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: simplecov (~> 0.9.1) and simplecov (>= 0). Bundler cannot continue.

 #  from /home/www/redmine/plugins/due_date_reminder/Gemfile:4
 #  -------------------------------------------
 #  group :test do
 >    gem 'simplecov'
 #    gem 'simplecov-rcov'
 #  -------------------------------------------
. Bundler cannot continue.

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

Redmine version 3.4.3.stable
Ruby version 2.4.1-p111 (2017-03-22) [x86_64-linux]
Rails version 4.2.8

Hi manuscle,

try to modify in the Gemfile the simplecov row to this:
gem 'simplecov', '~> 0.9.1'

After it works well for me

Thank you!