From: Ronald Fischer Date: 2007-07-30T16:20:08+09:00 Subject: Re: Getting Ruby Path at runtime? > > [...] is it at least possible to find out > > > > - the Ruby version (1.8.6) and > > - whether it is executed by Ruby or JRuby? > > > You can do a check for the JRUBY_VERSION constant. If it > exists then you are > using jruby. Thanks a lot. Ronald