#!/usr/bin/env bash
rails runner "$@"
might be a bit more robust?
]]>Their chef recipe creates a monit file that runs “/engineyard/bin/dj start/stop
“. The dj
script runs the command “script/runner -e production 'Delayed::Job.start'
” or so.
It would have been longer to create a homebrewed chef recipe + monit + dj-like than adding script/runner
to our rails 3 app. As soon as they make their dj
script compatible with rails 3 we can get rid of script/runner
.