use rvm wrapper to simplify the script