From: ranx Date: 2007-03-25T13:00:23+09:00 Subject: Re: ruby18 vs. ruby On Mar 24, 10:58 pm, meino.cra...@gmx.de wrote: > Hi, > > I am using the ruby-stable-snapshot on a more or less regualr basis > on a Gentoo Linux system. I do not install ruby via Gentoo's emerge > mechanism. > > Suddenly all my ruby scripts stops to work. :) > > I noticed, that ruby was not installed as "ruby" but as "ruby18". > My script's hash-bangs always are "#! /usr/bin/ruby". > > How can I convince configure to install ruby as ruby? > > I tried to set an environment variable "RUBY_INSTALL_NAME" but it > does not work (yes, it was "exported" :) > > Thank you very much for any help in advance! > > Kind regards, > mcc > > PS: May be it would be an idea to name the archive on rubys > ftp-server like its contents: > snapshot.tgz ---> ruby-snapshot.tgz > stable-snapshot.tgz ---> ruby-stable-snapshot.tgz > > ...one (at least me ;) downloads a LOT of snapshots, source archives > and so on. If not unpacked, configured,compiled, installed > right directly after download - it is confusing to have archives > "without name" like: source.tgz, stable-source.tgz, archive.zip, > my_distro.7z,..... > > "That's four small chars for a ftp-server, one giant leap for rubykind." :) > > -- > Please don't send me any Word- or Powerpoint-Attachments > unless it's absolutely neccessary. - Send simply Text. > Seehttp://www.gnu.org/philosophy/no-word-attachments.html > In a world without fences and walls nobody needs gates and windows. Can simply create a symbolic link called ruby that points to ruby18 as follows: ln -s /usr/bin/ruby18 /usr/bin/ruby