Forum: Ruby on Rails killall kills god

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Grayson P. (Guest)
on 2008-11-15 19:33
I was having a problem with cap deploys where you get:

Couldn't find any pid file in ... matching 'dispatch.[0-9]*.pid'

based on the suggestion of another post I implemented the following in
deploy.rb which does successful terminate all the Ruby process but this
includes God.

desc "restart override"
task :restart, :roles => :app do
  run "killall -9 /usr/local/bin/ruby"

I don't think I'm supposed kill God.  My mongrel.rb is supposed to just
do a

god restart mongrels
This topic is locked and can not be replied to.