convert a ruby script into an upstart daemon