[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213085
Bug ID: 213085
Summary: www/redmine: depends on net-ldap twice, with different
version numbers.
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ruby at FreeBSD.org
Reporter: xmj at FreeBSD.org
Flags: maintainer-feedback?(ruby at FreeBSD.org)
Assignee: ruby at FreeBSD.org
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=markup#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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ruby
mailing list