You cannot specify the same stone twice with different version requirements

I have 2 plugins installed (redmine_backlogs and redmine_ldap_sync), but after updating redmine_ldap_sync from 2.0.0 to 2.0.1, a Gemfile was added.

Here's the lag Gemfile https://github.com/backlogs/redmine_backlogs/blob/v1.0.2/Gemfile and ldap sync Gemfile https://github.com/thorin/redmine_ldap_sync/blob/2.0.1/Gemfile

In both cases, simplecov is in the test group. I tried to run

bundle install --without development test 

but I got this error:

 You cannot specify the same gem twice with different version requirements. You specified: simplecov (>= 0) and simplecov (~> 0.6) 

This does not seem to make sense. Is there any way around it without editing the file?

thanks

+6
source share
1 answer

All plugin gemfiles are shared. Just remove the simplecov (>= 0) in one of the Gemfile plugins. It is not criminal or illegal.

+11
source

Source: https://habr.com/ru/post/947465/


All Articles