[Mongrel] problem restarting mongrel_cluster outside RAILS_ROOT - patch and other option

Wayne E. Seguin wayneeseguin at gmail.com
Tue Apr 17 06:24:06 EDT 2007


Matte,
On Apr 17, 2007, at 00:09 , Matte Edens wrote:
> "sudo mongrel_rails cluster::restart -C [valid path to config] -- 
> clean"

Is this really a problem with mongrel cluster?

A "fourth" solution is to simply modify your restart task in your  
Capistrano recipe:

task :restart, :roles => :app do
   run(or sudo) "cd #{current_path}; mongrel_rails cluster::restart - 
C [valid path to config] --clean"
end

~Wayne


More information about the Mongrel-users mailing list