I need to get the jruby version for logging & debugging purposes.
I tried looking around JRuby.runtime for a 'version' method, but I didn't find anything useful.
I also thought about using %x{jruby -v}. It works in most cases, except that there is always the possibility that more than one jruby version are installed, and I want to get the version of the currently running interpreter.
Did I miss something? Any suggestion?