Wednesday, April 7, 2010

Install :: Ruby

Download Ruby source code
$ wget ftp://ftp.ruby-lang.org//pub/ruby/ruby-1.9-stable.tar.gz

$ tar zxvf ruby-1.9-stable.tar.gz

To configure Ruby, if you are not superuser
$ ./configure --prefix=$HOME/bin
By default it installs in /usr/local/bin

$ ln  -s bin/irb irb
To access irb from any location.

No comments:

Post a Comment