On Thu, Jan 27, 2011 at 11:14 AM, Hassan Schroeder <
hassan.schroeder / gmail.com> wrote:

> How can I tell from within a running program which interpreter is being
> used -- i.e. MRI, REE, etc.?
>
> RUBY_VERSION only returns a number, .e.g. "1.8.7".
>
> TIA,
> --
> Hassan Schroeder ------------------------ hassan.schroeder / gmail.com
> twitter: @hassan
>
>
If you're using RVM, there is also some good stuff in the ENV hash.