Friday, April 27, 2012

How to install Ruby 1.8.7 on Ubuntu 10.04

sudo aptitude install ruby1.8-dev ruby1.8 irb1.8 libreadline-ruby1.8 libruby1.8 libopenssl

sudo ln -s /usr/bin/irb1.8 /usr/bin/irb
sudo ln -s /usr/bin/ruby1.8 /usr/bin/ruby
 
Check the Ruby version : 
 
ruby -v