Use rvm in cron
- rvm list
- find what looks like your gems set, e.g
- echo $rvm_path/bin, e.g.
- tack on the output of #1 to the output of #2, e.g.
- your cron entry should be the result of #3 followed by your ruby script, e.g.
- 0 0 * * * /usr/lib/rvm/bin/ruby-1.9.3-p194 /optt/mydir/myscript.rb