Hassan Schroeder wrote:
> On Tue, Jul 27, 2010 at 2:20 PM, Joseph E. Savard
> <joseph.savard / sabre-holdings.com> 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"