[DRE-maint] Cruisecontrol.rb

Gunnar Wolf gwolf at gwolf.org
Thu Apr 19 16:00:40 UTC 2007

James Healy dijo [Thu, Apr 19, 2007 at 11:15:04AM +1000]:
> The (as yet unfinished) approach I took was to dump most things in
> /usr/share/cruisecontrolrb, with symlinks to external directories where
> relevant (log -> /var/log/cruisecontrolrb, etc).
> I then removed most libraries from vendor to make the app use the
> Debian versions available from the official repositories.

Ok, it is coherent with what I had in mind. Yay! :)

> These days the most common way to run a rails app is as a separate
> mongrel process bound to a high port, then proxy requests from
> apache/lighttpd. At this stage I just have it starting on port 8000 from
> an init.d script, and there is no automatic configuration of the
> webserver to proxy connections through.
> Although the proxying approach suits me, I'm still new to packaging so
> I'm unsure if it's suitable for the wider Debian community.

Again, I hope Filipe can share some insight on this - I think we could
come to an approach such as:

- Installed rails apps register somewhere - Say, in
  /etc/mongrel_cluster/apps_available (and are handled in a way
  similar to Apache's /etc/apache2/sites_available / sites_enabled)
- The mongrel package just installs mongrel, but does not start it at
- The mongrel_cluster package, AIUI, is the one in charge for starting
  and managing all the different Mongrel processes in the machine. It
  will start a mongrel for each of said apps
- Of course, a way must be found to bind the individual mongrels to
  the different vhosts of the webserver. That's left for a later
  moment ;-)


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20070419/eadae6b6/attachment.pgp

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