Ruby: How to install version 1.9.2

bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

add to your .bashrc:

# Load RVM if it is installed,
# first try to load user install
# then try to load root install, if user install is not there.
if [ -s "$HOME/.rvm/scripts/rvm" ] ;
 then . "$HOME/.rvm/scripts/rvm"
elif [ -s "/usr/local/rvm/scripts/rvm" ] ;
 then . "/usr/local/rvm/scripts/rvm"
fi

1
rvm update --head &amp;&amp; rvm reload &amp;&amp; rvm install 1.9.2 &amp;&amp; rvm 1.9.2 --default