[Bug 634703] Re: /usr/bin/ruby should use the alternatives system

2011-03-25 Thread Lucas Nussbaum
Fixed in version 4.7.

** Changed in: ruby-defaults (Ubuntu)
   Status: New = Fix Released

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

Title:
  /usr/bin/ruby should use the alternatives system

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


[Bug 634703] Re: /usr/bin/ruby should use the alternatives system

2010-09-10 Thread Victor Costan

** Attachment added: Dependencies.txt
   
https://bugs.launchpad.net/bugs/634703/+attachment/1564544/+files/Dependencies.txt

-- 
/usr/bin/ruby should use the alternatives system
https://bugs.launchpad.net/bugs/634703
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 634703] Re: /usr/bin/ruby should use the alternatives system

2010-09-10 Thread Victor Costan
The commands below roughly express what I want. They seem to work for my
system.


# Rubygems seems to set up its own alternatives, but switching between gem1.8 
and gem1.9.1 didn't switch the ruby interpreter.
sudo update-alternatives --remove-all gem

# 1.8 - 1.8.7
sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.8 5 
--slave /usr/bin/gem rubygems /usr/bin/gem1.8 --slave /usr/bin/irb irb 
/usr/bin/irb1.8

# 1.9 - 1.9.2
sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.1 10 
--slave /usr/bin/gem rubygems /usr/bin/gem1.9.1 --slave /usr/bin/irb irb 
/usr/bin/irb1.9.1

-- 
/usr/bin/ruby should use the alternatives system
https://bugs.launchpad.net/bugs/634703
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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