From: "Ara.T.Howard" Date: 2004-08-20T13:01:02+09:00 Subject: Re: determining ruby interpreter On Fri, 20 Aug 2004, Mehr, Assaph (Assaph) wrote: > >> anything more reliable than this? > >> ~ > ruby -rrbconfig -e'p >> File.join(*Config::CONFIG.values_at("bindir","RUBY_INSTALL_NAME"))' >> "/usr/local/bin/ruby" > > Works on windows and cygwin, but you might have to add ".exe" to spawn > an external process. really? the install name doesn't include the extention then? thanks for the check. -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | A flower falls, even though we love it; | and a weed grows, even though we do not love it. | --Dogen ===============================================================================