Installing ruby from trunk

Today i installed Ruby 1.9 from trunk.

1) get ftp://ftp.ruby-lang.org:21//pub/ruby/1.9/ruby-1.9.0-1.zip
or ( http://mirror.judofyr.net/ruby/1.9/ruby-1.9.0-1.tar.gz )

2) tar xzvf ruby-1.9.0-1.tar.gz && cd ruby-1.9.0-1
3) ./configure –prefix=/usr/local/ruby1.9 –program-suffix=-trunk
4) make
5) sudo make install
now you have ruby 1.9 in /usr/local/ruby1.9
you can now either put /usr/local/ruby1.9/bin to path or copy or softlink the bins

Leave a Reply

You must be logged in to post a comment.