Housing Ruby 1.8 and 1.9
I have a laptop running Gentoo. A Compaq V2000 —a model I’d highly recommend—Dothan chip and all that. One of the reasons I chose Gentoo was because of the simplicity of upgrading software I use from CVS. Keeping multiple versions of Ruby on the same machine is really sly as well.
# emerge ruby # emerge ruby-cvs
irb18 to explicitly use 1.8. Or
irb19 to explicitly use 1.9. And then Gentoo has a
use.perl-style script to alter the symlinks of
# ruby-config ruby18 # ruby-config ruby19
I’d really like to know how this works (does it?) on Debian or Slackware.