Tag - initscripts

Making RVM play nicely with system scripts
Situation: you have a Rails app, which uses RVM and specifies its Ruby version with a .ruby-version file. You want to use that app in a system script, such as, a Cron job, or start from an init.d script, or any other place that’s not a user shell. And it doesn’t work, failing with strange error messages.
August 5, 2013

Initscript hack that allows an application to control itself
I was faced with a curious challenge while making initscripts for a webapp (for Unicorn, delayed job, and the like).
July 15, 2013, revised February 2, 2014