[Bug 215225] www/redmine broken again after upgrade of rubygems

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 13 08:05:08 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215225

schmidt at ze.tum.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schmidt at ze.tum.de

--- Comment #3 from schmidt at ze.tum.de ---
The problem is that rubygem-actionpack4 installs the pkg rubygem-rack16 while
other rubygems for example rubygem-thin install the package rubygem-rack which
is version 2.0

the problem is that all port requited by redmine that depend on rubygem-rack
have a  RUN_DEPENDS=rubygem-rack>=1.0:www/rubygem-rack in there Makefile. 

They don't recognize that rake-1.6 is already installed because the packname is
rubygem-rack16 and not rubygem-rack and install rack again from the
rubygem-rack port.

While starting redmine it finds rake 2.0.1 and uses it but some gem require
rack 1.6.5 explicitly and so the startup fails.

Shorthand fix for this problem is to force remove the package rubygem-rake.
Redmine works fine without it as all gems used state that they need rack > 1.0
which is there with the package rubygem-rack16 

Longterm the ports depending on rack should check if they can use a already
installed version of rake.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ruby mailing list