From: Josh Cheek Date: 2011-01-28T06:03:57+09:00 Subject: Re: which Ruby is in use? --0016e64f91709df7e6049ada4920 Content-Type: text/plain; charset=ISO-8859-1 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. --0016e64f91709df7e6049ada4920--