From: Paul Knight Date: 2007-07-17T02:10:59+09:00 Subject: Re: How can I get the Ruby version from within a Ruby script? On Jul 16, 2007, at 8:57 AM, Axel Etzold wrote: > this works for me: > > result= `ruby -v` > p 'my result' > p result Unfortunately, this grabs the version of some Ruby, not necessarily the one currently running. The RUBY_VERSION constant is what you probably want. Paul Knight (A different Paul than the OP)