6 months ago
I recently had trouble getting RVM and Cron to work. The jobs always failed because RVM wasn't loaded and thus none of the gems could be found.
I found a good solution here.

This works fine. But to keep things consistent I changed it to take .rvmrc into account:
@weekly bash -l -c "cd app_root && source .rvmrc && rake do:things
blog comments powered by Disqus