Open adrianobr opened 8 years ago
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.
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 parsingGemfile
: 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"
from /home/redmine/redmine/Gemfile:114
-------------------------------------------
Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", FILE) do |file|
I install all dependences with gem, but not execute bundler.