Reputation: 36121
apt-get install ruby
Installs ruby 1.8.7
When I install ruby 1.9.2 from sources via ./configure make install, ruby is not installed (ruby -v gives nothing).
So how can I install ruby 1.9.2 on Ubuntu?
Upvotes: 2
Views: 7596
Reputation: 912
You can also proceed to upgrade the ruby installation, as below,
sudo apt-get upgrade ruby
Upvotes: 0
Reputation: 2511
I use rvm Ruby Version Manager on my ubuntu-10.04.1-desktop. With ruby-1.9.2 , ruby 1.8.7 no problem.
Upvotes: 4
Reputation: 369498
apt-get install ruby1.9.1
Upvotes: 1
Reputation: 1644
You can install ruby 1.9.1 with
sudo apt-get install ruby1.9.1
ruby 1.9.2 is not available for lucid (but I have not checked backports).
Upvotes: 0