δΊ 2012-1-18 21:05, shiyao.ma ει:
I now prefer to use ruby1.9. However, debian sid's default ruby
version is 1.8.x.
I deleted the soft link of /usr/bin/ruby and made a new soft link
/usr/bin/ruby to /usr/bin/ruby1.9.3.
I thought that's enough, however I found it is not feasible. I have to
update the soft link of irb, ri and more.
So, I wonder whether there exists a handy and nice method of changing
the default version of ruby?
Debian has a better method more than using soft link. You can use
command "update-alternatives", input "man update-alternatives" for details.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f344e29.7000...@gmail.com