From: nobu.nokada@... Date: 2004-08-20T13:53:22+09:00 Subject: Re: determining ruby interpreter Hi, At Fri, 20 Aug 2004 13:01:02 +0900, Ara.T.Howard wrote in [ruby-talk:109940]: > >> 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? It doesn't, but EXEEXT is not needed by system and spawn. -- Nobu Nakada