Here is a list of Ruby 1.8 and 1.9 released tarballs/zip for download:

Ruby 1.8 Downloads :

Ruby 1.9 Downloads :

After downloading, command list to install (for Linux machine):

./configure
sudo make
sudo make install

I generally refer this for complete installation.

Abhishek Singh