X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from jeremythomerson.com (mail.jeremythomerson.com [74.117.189.150]) by mail.alpinelinux.org (Postfix) with ESMTP id 77101DC00A7 for ; Tue, 4 Dec 2012 17:44:43 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by jeremythomerson.com (Postfix) with ESMTP id 330571CB34 for ; Tue, 4 Dec 2012 11:52:03 -0600 (CST) Received: by mail-wi0-f174.google.com with SMTP id hm9so767027wib.7 for ; Tue, 04 Dec 2012 09:44:41 -0800 (PST) Received: by 10.180.81.39 with SMTP id w7mr5901612wix.15.1354643081103; Tue, 04 Dec 2012 09:44:41 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Reply-To: jeremy@thomersonfamily.com Received: by 10.194.88.163 with HTTP; Tue, 4 Dec 2012 09:44:15 -0800 (PST) In-Reply-To: References: From: Jeremy Thomerson Date: Tue, 4 Dec 2012 11:44:15 -0600 Message-ID: Subject: Re: [alpine-devel] Redmine To: Carlo Landmeter Cc: Alpine-devel Content-Type: multipart/alternative; boundary=bcaec5555034a58b1404d00a6bfa --bcaec5555034a58b1404d00a6bfa Content-Type: text/plain; charset=ISO-8859-1 On Tue, Dec 4, 2012 at 3:11 AM, Carlo Landmeter wrote: > ncopa has tried to get it working with lighttpd but failed because fastcgi > seems to be broken. We looked at alternatives and the most interesting was > unicorn (github is also using it). That's why Redmine apk is now based on > unicorn instead of lighttpd. Can you list the issues to which you run into? > With that info we can extend the wiki from a user perspective (sometimes I > take things for granted which I should not). > I have lighty running fastcgi for PHP. I tried adding config to get it running for Redmine (ruby) but it kept crashing. Maybe that's the same thing you experienced. Most of the issues I ran into are what you describe below - the dependency nightmare. But I was able to install ruby-bundle and "bundle install" worked to get things going where I could run Redmine with the built-in server. However, I could not get the ruby-fcgi dependency (added by APK) recognized. And adding fcgi as a dependency in the Gemfile broke things (bundler wouldn't install it because of missing header files - I think - but even when I "apk add ruby-dev" it still complained). > > >> >> So, I was hoping the redmine package would "just work", or have a good >> documented way of working. Just curious if it was something you had >> working somewhere. > > > Making Redmine "Just work" would be best, but the way they > handle dependencies now has changed, they are now using bundle which seems > the de-facto way of handling ruby dependencies now. > I have put all Redmine ruby dependencies into aports so we can install > them automatically, but because we do not use bundle Redmine keeps > complaining about dependencies so currently we have to run it manually. I > contacted a Redmine developer and he strongly advised me to keep using > bundle. Running bundle for instance from post-install will update ruby > dependencies automatically which is what we want to prevent (apk should > handle deps). I didn't find time yet to look into bundle/Redmine, if > somebody knows how we can hack Redmine so it accepts the dependencies > installed by apk that would be great. > > Sorry - I'm not a Ruby guy at all. I won't be much help here. Thanks! --bcaec5555034a58b1404d00a6bfa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Dec 4, 20= 12 at 3:11 AM, Carlo Landmeter <clandmeter@gmail.com> wro= te:
=A0
ncopa has tried to get it working with lighttpd but failed because f= astcgi seems to be broken. We looked at alternatives and the most=A0interes= ting=A0was unicorn (github is also using it).=A0That's=A0why Redmine ap= k is now based on unicorn instead of lighttpd.=A0Can you list the issues to= which you run into? With that info we can extend the wiki from a user pers= pective (sometimes=A0I take things for granted which I should not).=A0

I have lighty running fastcgi for PHP.=A0= I tried adding config to get it running for Redmine (ruby) but it kept cra= shing.=A0 Maybe that's the same thing you experienced.=A0 Most of the i= ssues I ran into are what you describe below - the dependency nightmare.=A0= But I was able to install ruby-bundle and "bundle install" worke= d to get things going where I could run Redmine with the built-in server.= =A0 However, I could not get the ruby-fcgi dependency (added by APK) recogn= ized.=A0 And adding fcgi as a dependency in the Gemfile broke things (bundl= er wouldn't install it because of missing header files - I think - but = even when I "apk add ruby-dev" it still complained).
=A0
=A0

So, I was hoping the redmine package would "just work", or ha= ve a good documented way of working.=A0 Just curious if it was something yo= u had working somewhere.

Making Redmi= ne "Just work" would be best, but the way they handle=A0dependenc= ies=A0now has changed, they are now using bundle which seems the=A0de-facto= =A0way of=A0handling=A0ruby=A0dependencies=A0now.
I have put all Redmine ruby dependencies into aports so we can install= them automatically, but because we do not use bundle Redmine keeps complai= ning about dependencies so currently we have to run it manually. I contacte= d a Redmine developer and he strongly=A0advised=A0me to keep using bundle. = Running bundle for instance from post-install will update ruby dependencies= automatically which is what we want to prevent (apk should handle deps). I= didn't find time yet to look into bundle/Redmine, if somebody knows ho= w we can hack Redmine so it accepts the dependencies installed by apk that = would be great.


Sorry - I'm not a Ruby guy = at all.=A0 I won't be much help here.

Thanks!
--bcaec5555034a58b1404d00a6bfa-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---