Upgrading Ruby to 1.9.2

Get the latest Ruby

curl ftp://ftp.ruby-lang.org:21//pub/ruby/1.9/ruby-1.9.2-p136.tar.gz -o ruby-1.9.2-p136.tar.gz
tar -xvf ruby-1.9.2-p136.tar.gz

This will create a directory

cd ruby-1.9.2-p136
autoconf
./configure --program-suffix=19 --enable-shared --with-readline-dir=/usr/local
make
sudo make install

And we are done