Daemon launching and management made dead simple. With daemon-spawn you can start, stop and restart processes that run in the background. Processed are tracked by a simple PID file written to disk. In addition, you can choose to either execute ruby in your daemonized process or 'exec' another process altogether (handy for wrapping other services).
Gemfile gem 'daemon-spawn', '~> 0.2.0'
install gem install daemon-spawn -v 0.2.0