Ok, so I would like to create an action in Rails to restart itself. I did a little searching and found:
http://snippets.dzone.com/posts/show/5002
Which suggests
In our consulting with startups running their sites on Rails, we used two methods for managing mongrel processes.
First, is a custom gem we wrote called mongrel_runit. This sets mongrels up as services in runit.
Second, we used god to monitor mongrel processes. This will work with mongrel_runit, or with 'normal' mongrel configurations.