Source the rvm script, so that rvm is available outside of the package scripts.
Comment and refactor