X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id D7434DC00A7 for ; Wed, 5 Dec 2012 11:44:55 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so9620832iec.13 for ; Wed, 05 Dec 2012 03:44:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=S2EtIfD/BFJvXYFj0/T8g2umlfmea2XcAIa+sAvFkSk=; b=sTFZHwFkt3f6jfYXTI2fu0EqQGhpUa3iy2v+60aIb+3mz3LrWMd0DZaJTRHzBX8snD wEpX/TCQmAfhmBg/GkR0Z3U4OxDmZOENFV/hdWUWJu1g9TXrcs6AAjgM/NRgM1mqgJiT RXRuXpJVVwdJ/sU1m58wY3MpNFYUsrWYugevQlPfAuI5097kSZ0sGTmUbi4BmBY/1a2f vUsFc/ntPTnCtnP2w4jkO4WK2UfvFMGtPqFrF7DdmZQWoe8CnS5UiF4Xtg81nnwlnvOx FGBcyvO0V8D8eZ305nkavY6jDijlStjEQGJMw+5ZDFr4OPzIDzWQC6qeM4yVqkj4rEUy k1WQ== X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.42.57.11 with SMTP id b11mr14052394ich.15.1354707894584; Wed, 05 Dec 2012 03:44:54 -0800 (PST) Received: by 10.64.68.38 with HTTP; Wed, 5 Dec 2012 03:44:54 -0800 (PST) In-Reply-To: References: Date: Wed, 5 Dec 2012 12:44:54 +0100 Message-ID: Subject: Re: [alpine-devel] Redmine From: Carlo Landmeter To: jeremy@thomersonfamily.com Cc: Alpine-devel Content-Type: multipart/alternative; boundary=90e6ba614ed6d4c4b404d0198206 --90e6ba614ed6d4c4b404d0198206 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Dec 4, 2012 at 6:44 PM, Jeremy Thomerson wrote: > > 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. > Fastcgi itself is not broken, but ruby-fastcgi is, although i didn't try it myself. > 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). > You need alpine-sdk and needed depends to build those ruby packages. Thats one of the reasons we want those packages inside aports. apk add redmine should be enough to get things going. After that you need to configure the webserver of use. Although we choose for unicorn, there are other alternatives which should work, aslong its not fcgi related. I will see what is missing to make redmine install by only using apk, but configuring the website is not part of this. > > >> >> >>> >>> 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! > > --90e6ba614ed6d4c4b404d0198206 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Dec 4, 2012 at 6:44 PM, Jeremy T= homerson <jeremy@thomersonfamily.com> wrote:


=
Most of the issu= es I ran into are what you describe below - the dependency nightmare.=A0 Bu= t I was able to install ruby-bundle and "bundle install" worked t= o get things going where I could run Redmine with the built-in server.=A0 H= owever, I could not get the ruby-fcgi dependency (added by APK) recognized.= =A0 And adding fcgi as a dependency in the Gemfile broke things (bundler wo= uldn't install it because of missing header files - I think - but even = when I "apk add ruby-dev" it still complained).

You need alpine-sdk and = needed depends to build those ruby packages. Thats one of the reasons we wa= nt those packages inside aports. apk add redmine should be enough to get th= ings going. After that you need to configure the webserver of use. Although= we choose for unicorn, there are other alternatives which should work, asl= ong its not fcgi related.
I will see what is missing to make redmine install by only using apk, = but configuring the website is not part of this.
=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 Rub= y guy at all.=A0 I won't be much help here.

Thanks!


--90e6ba614ed6d4c4b404d0198206-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---