Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HELP - Install error dependences plugin #1121

Open
adrianobr opened this issue Apr 28, 2016 · 1 comment
Open

HELP - Install error dependences plugin #1121

adrianobr opened this issue Apr 28, 2016 · 1 comment

Comments

@adrianobr
Copy link

adrianobr commented Apr 28, 2016

root@55fd59603001:/home/redmine/redmine/plugins# bundle exec rake redmine:plugins:migrate RAILS_ENV=production NAME=redmine_backlogs

[!] 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: nokogiri (>= 1.6.7.2) and nokogiri (>= 0). Bundler cannot continue.

from /home/redmine/redmine/plugins/redmine_backlogs/Gemfile:11

-------------------------------------------

gem "icalendar"

gem "nokogiri"

gem "open-uri-cached"

-------------------------------------------

. Bundler cannot continue.

from /home/redmine/redmine/Gemfile:114

-------------------------------------------

Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", FILE) do |file|

eval_gemfile file

end

-------------------------------------------

I install all dependences with gem, but not execute bundler.

@futaz
Copy link

futaz commented Oct 12, 2016

nokogiri is defined in Redmine's Gemfile with version and in backlog's Gemfile without version. If you comment out the nokogiri dependency in backlog's Gemfile, the bundle command will execute successfully.

You may face with a similar problem with capybara gem, but in that case, you need to comment out it from Redmine's Gemfile, because backlog's one's defining it with a more specific version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants