Hi all, I just wanted to let you know that I built some Debian (Sarge) packages to allow an apt-get only installation of Mongrel, Ruby and friends. Also contained is an init script that is capable of managing multiple applications. Support for the Pen load balancer is also included. More info can be found there: http://www.jkraemer.net/articles/2006/07/07/mongrel-apache-and-rails-on-debian-sarge any feedback would be great. Jens -- webit! Gesellschaft f?r neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Kr?mer kraemer at webit.de Schnorrstra?e 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66
On Jul 7, 2006, at 2:08 PM, Jens Kraemer wrote:> Hi all, > > I just wanted to let you know that I built some Debian (Sarge) > packages to allow an apt-get only installation of Mongrel, Ruby and > friends. > > Also contained is an init script that is capable of managing > multiple applications. Support for the Pen load balancer is also > included. > > More info can be found there: > http://www.jkraemer.net/articles/2006/07/07/mongrel-apache-and- > rails-on-debian-sarge > > any feedback would be great. > > JensSweet man! THanks -Ezra
On Fri, 2006-07-07 at 23:08 +0200, Jens Kraemer wrote:> Hi all, > > I just wanted to let you know that I built some Debian (Sarge) > packages to allow an apt-get only installation of Mongrel, Ruby and > friends. > > Also contained is an init script that is capable of managing > multiple applications. Support for the Pen load balancer is also > included. > > More info can be found there: > http://www.jkraemer.net/articles/2006/07/07/mongrel-apache-and-rails-on-debian-sarge >Nice job, although I haven''t tried it yet. I''m glad someone is tackling the debian problem because having to install billions of packages really is an issue for folks who try to build Mongrel. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support?
On 08/07/06, Zed Shaw <zedshaw at zedshaw.com> wrote:> Nice job, although I haven''t tried it yet. I''m glad someone is tackling > the debian problem because having to install billions of packages really > is an issue for folks who try to build Mongrel.Bit of an exaggeration there - besides Ruby I only needed to apt-get build-essential to install Mongrel via RubyGems. Cheers, -- Dave Murphy (Schwuk) http://schwuk.com
On Sat, 2006-07-08 at 02:40 +0100, Dave Murphy wrote:> On 08/07/06, Zed Shaw <zedshaw at zedshaw.com> wrote: > > Nice job, although I haven''t tried it yet. I''m glad someone is tackling > > the debian problem because having to install billions of packages really > > is an issue for folks who try to build Mongrel. > > Bit of an exaggeration there - besides Ruby I only needed to apt-get > build-essential to install Mongrel via RubyGems.I run Ubuntu, so let''s just see what I had to install to get even close to comfortable developing Rails applications with mongrel: ruby -- don''t forget, this is actually named ruby1.8, lots of fun there. build-essential -- oh, and kernel headers, oh, and gcc, oh and... irb -- no, i don''t need script/console ri -- nope, don''t need documentation either rdoc -- nice to be able to build documentation libruby -- oh yeah, nobody needs this libdrb-ruby -- man, BackgrounDRB is sure nice, too bad libgdbm-ruby -- It''s one of the session stores, and pretty much expected to be there by packages that use it. libiconv-ruby -- If you store utf-8 you need this, actually it''s another expected library. libnet-ssh-ruby1.8 -- what? no ruby only version? damn, no capistrano then. libopenssl-ruby -- even though it is OpenSSL, some systems like to have it. libreadline-ruby -- man, script/console is so much nicer with this. libtest-unit-ruby -- these are nice too libwebrick-ruby -- well you might not need this with mongrel, but you''ve gotta get it for comparison libzlib-ruby -- DeflateFilter is quite nice really. libyaml-ruby -- As well as storing things in YAML. ruby1.8-elisp -- For the emacs crew. And I''m sure I''m missing a few of the pieces that get installed as I run into things which are missing. Yeah, no, that''s a pretty small number of packages. Sure, I''m really exaggerating here. Frankly I found today that Fedora Core 5 isn''t much better in this respect, but they didn''t have nearly this much chopping. This lack of understanding of developer''s needs by the Debian packagers has always irked me. It''s fine for you to like an OS, but when you say all you had to do was install two packages and then I end up installing 17 to get even basic Ruby development comfort--not including databases, editors, libraries to support them, kernel headers, compilers, compiler support libraries--then I can''t really put up with claims that I''m "exaggerating". And yes, none of this was installed by default, and this also doesn''t include turning on the stupid "Universe" setting in the apt-get config so Ubuntu will find all this crap to begin with. Sorry, but Debian is my #1 OS for support problems with Mongrel, and I run Debian. Even Windows gives me less trouble. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support?
On 08/07/06, Zed Shaw <zedshaw at zedshaw.com> wrote:> It''s fine for you to like an OS, but when you say all you had to do was > install two packages and then I end up installing 17 to get even basic > Ruby development comfort--not including databases, editors, libraries to > support them, kernel headers, compilers, compiler support > libraries--then I can''t really put up with claims that I''m > "exaggerating".Apples and oranges. I said:> besides Ruby I only needed to apt-get > build-essential to install Mongrel via RubyGemsI deliberately excluded Ruby, and I said nothing about developing Mongrel. Of course you''re going to have to install other packages if you want to use other features of Ruby. Personally however I prefer to install all non-core libraries like rake and rails via Rubygems so I just apt-get install: * ruby (which actually installs ruby1.8) * irb (again, actually irb1.8) * ri (ditto) * rdoc (likewise) ...and to save issues with some gems I also throw ruby1.8-dev into the mix. However if you just want an easy life then you only need to apt-get install rails. Before you say it, of course these packages install others but that is what package management is for. In total I might be installing a similar number of packages to you, but as far as I''m concerned it''s only a handful (or even just one). Moving on, you are quite right that Debian and it''s kin make life difficult for developers by breaking all the packages into chunks and then further by seperating the headers, but it''s (just about) an acceptable overhead for me. For the sake of a stable production environment I want to see Mongrel turned into a .deb and included with distributions. I''d also like to see Rubygems packaged, but I can understand why it hasn''t been. Cheers, -- Dave Murphy (Schwuk) http://schwuk.com