On Fri, 29 Aug 2008 21:42:36 +0100, Alaric Snell-Pym wrote:
Ah, but once you've built a few rubies with different suffixes (ruby18, ruby19, rubymac, etc) you can then write such a script easily:
SUFFIX=$1
ln -s /usr/local/bin/ruby$SUFFIX /usr/local/bin/ruby ln -s /usr/local/bin/irb$SUFFIX /usr/local/bin/irb
Hi Alaric-
That's exactly what I did, although I'm no bash wizard, and didn't think to use a command line argument.
:-)
Thanks, Charles