Switch to rvm and automate ruby and rails installs