RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

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

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!