From: meino.cramer@... Date: 2007-03-25T13:09:59+09:00 Subject: Re: ruby18 vs. ruby ranx [07-03-25 06:02]: > 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 Hi, thanks for your reply, ranx...already know symlinks...being a UNIX freak since 14 years now... ;) I wanted to install things correctly and dont "fix" problems by tweaking...otherwise other application/install may fail by finding "two" rubys...for example "RUBY_INSTALL_NAME" is used in the configure script at a lot of places. The libs also get their names from that. Symlinks will more harm than cure... How can I convince rubys configure/install system to use "ruby" instead of "ruby18" ? Keep scripting! mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.