[DRE-maint] Mongrel - I'd like it for Ubuntu
Neil Wilson
neil at aldur.co.uk
Mon Jul 16 17:38:05 UTC 2007
Mongrel shouldn't be doing init handling IMHO. There are lots of other ways
of using it - Monit, Runit, Capistrano initiation. And you have absolutely
no idea which framework the user has in mind. Mongrel is more than just
Rails - it is used by Nitro, Camping and a host of others.
Mongrel should be treated as a ruby HTTP wrapper library with an example
program - 'mongrel_rails'.
Rgs
NeilW
-----Original Message-----
From: Gunnar Wolf [mailto:gwolf at gwolf.org]
Sent: 16 July 2007 16:37
To: Filipe
Cc: Neil Wilson; pkg-ruby-extras-maintainers at lists.alioth.debian.org
Subject: Re: [DRE-maint] Mongrel - I'd like it for Ubuntu
Filipe dijo [Sun, Jul 15, 2007 at 05:20:07PM -0300]:
> > I was wondering how complete the Mongrel package is. There doesn't
> > seem to be a lot happening to it at the moment and it seems to do the
> > job.
> >
> > Is there anything that is stopping it releasing into the wild? It's
> > just that the feature freeze for Ubuntu Gutsy is just around the
> > corner and it would be really useful if Mongrel was in there.
> >
> Hum... well... the only thing that is stopping it releasing into
> the wild is the lack of time to my uploaders revise and upload it :D
>
> Let's see if they can do it in the beginning of this week, then ubuntu
> Gutsy can ship it too.
Umh... Didn't I fall over you with a couple of questions? ;-)
Cannot really check it right now (as I'm on a contractor's office),
but points I remember were:
- It still does not integrate decently with Rails' "script/server"
script:
$ ./script/server
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
./script/../config/../vendor/rails/activesupport/lib/active_support/dependen
cies.rb:488:in `load': no such file to load -- mongrel_rails
(MissingSourceFile)
from
./script/../config/../vendor/rails/activesupport/lib/active_support/dependen
cies.rb:488:in `load'
from
./script/../config/../vendor/rails/activesupport/lib/active_support/dependen
cies.rb:342:in `new_constants_in'
from
./script/../config/../vendor/rails/activesupport/lib/active_support/dependen
cies.rb:488:in `load'
from
./script/../config/../vendor/rails/railties/lib/commands/servers/mongrel.rb:
60
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from
./script/../config/../vendor/rails/activesupport/lib/active_support/dependen
cies.rb:495:in `require'
from
./script/../config/../vendor/rails/activesupport/lib/active_support/dependen
cies.rb:342:in `new_constants_in'
from
./script/../config/../vendor/rails/activesupport/lib/active_support/dependen
cies.rb:495:in `require'
from
./script/../config/../vendor/rails/railties/lib/commands/server.rb:39
from ./script/server:3:in `require'
from ./script/server:3
- It also lacks any kind of init handling - or is that supposed to go
into mongrel-cluster (which I have not reviewed yet)? Where are you
taking mongrel-cluster from? (IIRC, you said you were splitting the
source between both) I want to diverge as little as possible from
upstream, otherwise it can become hellish in the long run. I even
think we were not so bad off with the Gem unpacker I had set up in a
previous iteration :)
Greetings,
--
Gunnar Wolf - gwolf at gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF
More information about the Pkg-ruby-extras-maintainers
mailing list