I have install ruby by rvm (system-wide), and worked correctly via normal console and my rails program is behaving correctly with both rails runner and ap
rails runner
ap
your cron isn't inheriting your environment. try echoing "$PATH" to a file to see what it's set to.
You could also just do "PATH=/usr/bin/ruby && foo.rb"