Building and installing Ruby 1.8.4 on Mac OS X TigerEdit

Note

These notes are superseded by the article, "Building and installing Ruby 1.8.5 on Mac OS X Tiger".

Build

First, download, extract, configure and build:

wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz
tar zxvf ruby-1.8.4.tar.gz
cd ruby-1.8.4/
./configure
make

Second, run the tests and install. Note that the full test suite (make check) can only be run after installing:

make test
sudo make install
make check

Print out the version of the newly installed ruby interpreter:

/usr/local/bin/ruby -v

See also