Try an RVM wrapper to see if it'll run under cron