[Mongrel] deploying mongrel with capistrano

Steven Hansen runner at berkeley.edu
Fri Dec 1 00:58:04 EST 2006


Curtis Hatter wrote:
> I'm wondering if anyone has built a Capistrano task that will deploy mongrel 
> either standalone or along with a rails app. I've been looking at 
> possibilities for doing this but still new to using both having switched from 
> using FCGI+Lighty and deploying by hand.
>
> Thanks,
> Curtis
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>   

Hi Curtis,

Install the mongrel_cluster gem.  It comes with a Capistrano recipe for 
deploying with mongrel.  Basically, once the gem is installed, you just 
need to require it at the beginning of your capistrano deploy file:

require "mongrel_cluster/recipes"

More info here: 
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/

-Steven


More information about the Mongrel-users mailing list