[DRE-maint] Backporting gem2deb

Theo Cushion theo at jivatechnology.com
Thu Mar 1 16:53:43 UTC 2012


On 14 Feb 2012, at 16:50, Antonio Terceiro wrote:

> Theo Cushion escreveu isso aí:
>> Hi,
>> 
>> I'm in the process of back porting Ruby 1.9.3 from Precise to Lucid.
>> My aim is to get Passenger running using Ruby 1.9.3 on Lucid with
>> nginx. However, I've run into trouble porting some of the gems back
>> like ruby-rack. This is because these gems require gem2deb in order to
>> build them. 
>> 
>> When I attempt to build gem2deb on Lucid however I get unmet build
>> dependencies, such as ruby-setup. However some of these packages rely
>> on gem2deb!
>> 
>> Could anyone point me in the right direction for trying to solve these
>> circular build dependencies?
> 
> Those packages are Arch: all. You can just grab the newer ones and
> install them on the older system to bootstrap gem2deb.
> 
> Regarding Passenger, AFAICT even the newest version on unstable does not
> support nginx yet. It would be really nice if you could do the work in
> Debian first, so that everyone wins. ;-)
> 
> -- 
> Antonio Terceiro <terceiro at debian.org>

I've got something working over here: https://launchpad.net/~493pocbrcycmdw7yksonho-admin-d18ecat4t1b76tkfi3vttr/+archive/nginx-ruby-passenger

It includes:

- Ruby 1.9.3
- Passenger 3.0.11
- nginx 1.0.12
- few dependencies to make it play nice

They are based on the work from dotdeb and the ubuntu official builds for oneric. However, I haven't come across Ruby 1.9.3 being used with nginx and passenger (which seems like a sensible thing to aim for).

This is the first time I've packaged up anything, so I'm sure there are some silly mistakes, also not sure what the process is for making it accessible to wider range of distros. I've done some preliminary tests with it on a i386 staging server and it all seems fine.

If anyone has any pointers or alterations they'd like made then please let me know.

Theo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20120301/1434429d/attachment.html>


More information about the Pkg-ruby-extras-maintainers mailing list