From: Joel VanderWerf Date: 2010-07-28T07:10:34+09:00 Subject: Re: Which Ruby is in use? Hassan Schroeder wrote: > On Tue, Jul 27, 2010 at 2:20 PM, Joseph E. Savard > wrote: > > As I said, I'm not interested in the version, just the path to the executable. > >> puts "And finally the ruby executable #{ENV['_']}" > > Doesn't appear to work in JRuby. Do you know if it works in anything > else besides MRI? > Maybe this will work? >> File.join *Config::CONFIG.values_at("bindir", "ruby_install_name") => "/usr/local/bin/ruby"