RVM, Bundler and Cron in Production: Round 2
Back in 2010, we recommended using
bash -l -cto run Ruby executables in Cron that needed the RVM environment. This was a brute approach, and there's a better way: shell scripts. Here's how we suggest running a Ruby executable with RVM and/or Bundler in Cron today.