For RVM to work properly in your cronjobs, you will want to simulate starting a new bash shell.

[bash]/bin/bash -l -c ‘rvm use ruby@gemset && rake task:task’[/bash]

The -c option reads the next string as pointed out by the manfile:

The -l option invokes a new bash as if it was a login shell loading all associated files.