Am 2008-02-08 13:58:57, schrieb Ken Irving:
> It sounds bizarre to me. I think you mentioned following some directions
> somwehere, so maybe you missed something? I don't have /etc/alternatives/ruby1.8
> on my system; what does it point to? It's probably a symlink, or maybe a chain
> of several, and it wouldn't suprise me if it pointed back to /usr/bin/ruby1.8.
Normaly the executables are in
/usr/bin/ruby1.7
/usr/bin/ruby1.8
/usr/bin/rubyX.X
and then you have a symlink in
/etc/alternatives/ruby
which point to one of then executables in /usr/bin.
And last not least you have a symling from
/usr/bin/ruby -> /etc/alternatives/ruby
which mean, you can call your ruby-script with the shebang
#!/usr/bin/ruby
and it choose the default ruby executable from "alternatives" or
#!/usr/bin/rubyX.X
with the explicit version.
Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature