I ran into this today. I was surprised that the update-alternatives
support for ruby had been yanked. Here's how to set ruby2.0 to be the
default:

sudo ln -sf /usr/bin/ruby2.0 /usr/bin/ruby
sudo ln -sf /usr/bin/gem2.0 /usr/bin/gem

No promises this will work 100% or not cause problems with other
installed ruby dependent software.

ruby -v

should produce:
ruby 2.0.0p384 (2014-01-12) [x86_64-linux-gnu]

gem -v

should produce:
1.8.23

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1310292

Title:
  installing `ruby2.0` results in ruby 1.9.3-p484 as default version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby2.0/+bug/1310292/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to