This linode guide provides instructions on how to install ruby on the server. The guide uses ruby 1.8 which is installed alongside other dependencies. How can I alter these commands to setup ruby 1.9.2? The dependencies seem to be linked to each other.
Linode guide's commands:
Install Ruby dependencies
apt-get install wget build-essential ruby1.8 ruby1.8-dev irb1.8 rdoc1.8 zlib1g-dev libopenssl-ruby1.8 rubygems1.8 libopenssl-ruby libzlib-ruby libssl-dev libpcre3-dev libcurl4-openssl-dev
Create symbolic links
ln -s /usr/bin/ruby1.8 /usr/bin/ruby
ln -s /usr/bin/irb1.8 /usr/bin/irb
RVM is a very popular tool for installing Ruby.