X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id A61E2DC016C for ; Thu, 6 Dec 2012 20:48:45 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so8803960oag.13 for ; Thu, 06 Dec 2012 12:48:44 -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=vJBBCrWBydxRZuHupzWH/+mndgLBpxqenbxwC+YdgjU=; b=LRasb9eBQvOGTn1i3BEOD2F+VVeOhIyPjQcZ9i2Mm3+gzju2aOlqXW19B62HjTbnm7 OQJXEIrh5IsIDl+vpkSlutcjhQX5cWMAOYXltiYtN+uXso0bMxw4DE/HYmFXJ6RFKn4p gOEp89NfVndLscfQAPuDP8cJB+iUiI8qe3Z+KyD8dEnEEW2lZFbyw/JdieL59uJQnCaW 62HaNRC1BNsupwBY1dYJPYnp105MRu6KpAAeIcRjsH1uU+JogSepdFA7H8Dc6wtR02ET 2KclkXBq6rQGxpJ2sUUEzH0ZMnmf4WEx2ZDyLxh/GlTi7fet83gmT6ecWdRAkyXSzuIx qOHg== 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.60.29.66 with SMTP id i2mr2098573oeh.2.1354826924758; Thu, 06 Dec 2012 12:48:44 -0800 (PST) Received: by 10.182.104.37 with HTTP; Thu, 6 Dec 2012 12:48:44 -0800 (PST) In-Reply-To: References: Date: Thu, 6 Dec 2012 21:48:44 +0100 Message-ID: Subject: Re: [alpine-devel] Redmine From: Carlo Landmeter To: jeremy@thomersonfamily.com Cc: Alpine-devel Content-Type: multipart/alternative; boundary=e89a8ff2565695179c04d035391f --e89a8ff2565695179c04d035391f Content-Type: text/plain; charset=ISO-8859-1 Please check http://wiki.alpinelinux.org/wiki/Redmine#Installing_Redmine_2.1.2 I have moved init scripts to unicorn and added a default config to it. It should be much easier to get it working. Please let me know if it works. On Wed, Dec 5, 2012 at 12:44 PM, Carlo Landmeter wrote: > > > On Tue, Dec 4, 2012 at 6:44 PM, Jeremy Thomerson < > jeremy@thomersonfamily.com> 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! >> >> > --e89a8ff2565695179c04d035391f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Please check=A0http://wiki.alpinelinux.org/wiki/Redmine#Installing_Redmi= ne_2.1.2

I have moved init scripts to unicorn and ad= ded a default config to it. It should be much easier to get it working.
Please let me know if it works.

On W= ed, Dec 5, 2012 at 12:44 PM, Carlo Landmeter <clandmeter@gmail.com= > wrote:


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

On Tue, Dec = 4, 2012 at 3:11 AM, Carlo Landmeter <clandmeter@gmail.com> wrote:
=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 P= HP.=A0 I tried adding config to get it running for Redmine (ruby) but it ke= pt crashing.=A0 Maybe that's the same thing you experienced.=A0
<= /div>

Fastcgi itself is not broken, = but ruby-fastcgi is, although i=A0didn't=A0try it myself.
=A0
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-sd= k 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. Al= though we choose for unicorn, there are other alternatives which should wor= k, 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.
=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!



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