RubyFlow The Ruby and Rails community linklog

RVM, Bundler and Cron in Production: Round 2

Back in 2010, we recommended using bash -l -c to 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.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in