Resources

Getting and installing Ruby, on Windows or Unix


Simple installation (32-bit Windows):

See the Pragmatic Programmers' website.


For Unix (Linux, etc.):

Note: you may already have Ruby; check before you download.  FreeBSD, Debian, and some others have started to include it in the standard distribution.

Download the current source code.  Issue these commands (they will generate a lot of output, so be patient):

 % tar xvzf ruby-1.8.2.tar.gz
 % cd ruby-1.8.2
 % ./configure
 % make

If you are the administratator of this machine, you will probably want to make yourself root temporarily and install ruby for the benefit of all users (after entering the su command you will be prompted for the root password):

 % su
 # make install
 # exit

Otherwise you can add this directory to your PATH and run ruby where it is.



Resources