On Jul 25, 2008, at 01:21 AM, Bill Kelly wrote:
> From: "Ryan Davis" <ryand-ruby / zenspider.com>
>> On Jul 24, 2008, at 19:35 , Tanaka Akira wrote:
>>>
>>> What the usage of RUBY_ENGINE?
>>>
>>> I heard it is used to know command name at the IRC meeting.
>>> I think it is not good idea.
>> not command name, but ruby "flavor": (mri) ruby, rubinius, jruby,  
>> etc.
>
> From: http://ruby-design.pbwiki.com/f/ruby-core-20080430.txt

Evan is mistaken.  You can calculate the current ruby like this:

ruby = File.join RbConfig::CONFIG['bindir'],  
RbConfig::CONFIG['ruby_install_name']
ruby << RbConfig::CONFIG['EXEEXT']