Is there any way, on Ubuntu 9.04, to install ruby 1.8 as ruby1.8
(or get rid of it altogether) and have ruby 1.9 be the default ruby
?
views:
425answers:
2
+1
A:
I'm not really sure, but maybe this can help
update-alternatives --config ruby
just_a_dude
2009-12-12 09:37:29
thanks, didn't work out of the box but searching for `update-alternatives ruby` brought up http://krnjevic.com/wp/?p=209 which has a howto
Martin DeMello
2009-12-12 09:54:00
cool :) happy coding
just_a_dude
2009-12-12 10:37:13
A:
try
sudo apt-get install ruby1.9 rubygems1.9
or try building from source. this worked for me on ubuntu 9.04 and after a restart 1.9 was the standard ruby
i got it working via update-alternatives, as described here: http://krnjevic.com/wp/?p=209
Martin DeMello
2009-12-13 13:04:09
-1. This seems like a cargo-cult administration, huh? "do something, reboot, pray it works, I don't know how" - that makes the overall entropy raise.
Wojciech Kaczmarek
2009-12-15 00:31:03