maintainer-feedback requested: [Bug 213085] www/redmine: depends on net-ldap twice, with different version numbers.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Sep 29 14:25:00 UTC 2016
Johannes Jost Meixner <xmj at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to ruby at FreeBSD.org:
Bug 213085: www/redmine: depends on net-ldap twice, with different version
numbers.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213085
--- Description ---
The recent update introduced some changes that lead bundler (executed e.g. to
generate secret tokens or some such) to fail, like so:
[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice
with different version requirements.
You specified: net-ldap (>= 0) and net-ldap (>= 0.12.0). Bundler cannot
continue.
# from /usr/local/www/redmine/Gemfile:94
# -------------------------------------------
# Dir["#{File.dirname(__FILE__)}/bundler.d/*.rb"].each do |bundle|
> self.instance_eval(Bundler.read_file(bundle))
# end
# -------------------------------------------
This is because the net-ldap dependency introduced in the Gemfile in line 29,
https://svnweb.freebsd.org/ports/head/www/redmine/files/patch-Gemfile?view=mark
up#l29,
and the one introduced through code in line 84 of that Gemfile, plus
https://svnweb.freebsd.org/ports/head/www/redmine/files/ldap.rb?view=markup
being moved into bundler.d/
have conflicting version numbers and confuse bundler.
It might be a good idea to patch out the optional dependency on net-ldap
More information about the freebsd-ruby
mailing list