From: Phil Meier Date: 2007-07-17T00:19:49+09:00 Subject: Re: How can I get the Ruby version from within a Ruby script? Paul schrieb: > I want to log the current Ruby version to a log file along with the > script version, but I don't know how to get the Ruby version from > within a running script. Just use constant RUBY_VERSION. puts RUBY_VERSION => 1.8.6