As a company policy, rubygems isn't allowed on any of our production servers (which all run debian lenny). All production software must be installed via apt. There is a package for passenger (http://packages.debian.org/lenny-backports/libapache2-mod-passenger), but it depends on rubygems. Before I try to try to hack my own package (probably based on the debian one), I thought I'd ask to see if anyone has already done it.
views:
45answers:
2If you don't want to use the rubgems package, you should not use the passenger package either.
You probably don't want to install the rubygems package because you installed it manually already. Simply run gem install passenger
and passenger-install-apache2
and you're done.
If you need any libraries/dependencies installed, the passenger installer will let you know what it needs.
There are tools to "convert" gem into debian package. I've personally used http://github.com/thwarted/gem2deb .. However, since my target is a embedded device, i haven't packaged any rails stuff but what you are asking should be really basic stuff..
There's also a debian project which does "official" packages for debian from popular ruby gems. See their site for more info: http://pkg-ruby-extras.alioth.debian.org/index.html