Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2015 19:11:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 201112] www/redmine is not working after update (2.6.3_3)
Message-ID:  <bug-201112-21402-9PvHf7JUiv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201112-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201112-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201112

--- Comment #4 from Michael Moll <mmoll@freebsd.org> ---
I see. This is specific to the thin option used and I don't think there's an
easy fix.

Here is what I think is happening:

Redmine 2.6 is using Rails 3.2 which is locked to rack 1.4. After an security
update to the rack ports we decided to have all ports that depend onto rack
>=1.4 depending onto the rack16 port in order to pull in this newer version
which also has better security support. Amongst them is thin (and maybe some
other gem that's somewhere in the chain here), so there's the rack 1.4.x vs.
1.6.x clash coming from.

The real fix here is to find somebody that has the time to upgrade the redmine
port to a newer version which is also using a newer Rails so we can finally
purge Rails 3 from the ports tree.

I _think_ the current redmine port still works with passenger (or maybe also
with puma), so maybe try that (or if all else fails "rails start").


Off topic rant:
In regard to the thin and passenger ports options, I'm really against having
this handled by an app's port in general as there are more Ruby app servers
that can/should be equially supported then and patching thin into the Gemspec
has always been a major pain as that's a patch on top of the gem version
patches.

If something like that should be part of a future redmine port, it could be
done at least like Foreman is handling its bundler.d dir
(https://github.com/theforeman/foreman/blob/develop/Gemfile#L33-L35) so for
each app server an independent file can be dropped into bundler.d. That might
also help porting of redmine plugins which are handled by some ports magic
currently.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201112-21402-9PvHf7JUiv>