Serv-O-Lux is a collection of Ruby classes that are useful for daemon and process management, and for writing your own Ruby services. The code is well documented and tested. It works with Ruby and JRuby supporting both 1.8 and 1.9 interpreters.
Gemfile gem 'servolux', '~> 0.10.0'
install gem install servolux