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)