From: Garry Offord Date: 2006-12-13T03:20:00+09:00 Subject: Re: Predefined variable to represent the ruby installation path? ------=_Part_135005_29253133.1165947595973 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline It would seem that Config::CONFIG['bindir'] gives the directory from which the ruby executable is run. A lot of the other keys seem to hold promise, but are zero lengths strings ("") on my system (SunOS 5.8). On 12/12/06, Trans wrote: > > > Olivia Dou wrote: > > Is there a Predefined variable that represent the ruby installation > > path(on which directory ruby is installed)? > > > > -- > > Posted via http://www.ruby-forum.com/. > > check out rbconfig.rb, eg: > > require 'yaml' > require 'rbconfig' > > y Config::CONFIG > > t. > > > ------=_Part_135005_29253133.1165947595973--