From: "F. Senault" Date: 2007-07-27T18:55:02+09:00 Subject: Re: Getting Ruby Path at runtime? Le 27 juillet � 11:41, Ronald Fischer a �crit : > - the Ruby version (1.8.6) and You have the RUBY_VERSION constants and a few others : >> RUBY_VERSION => "1.8.6" >> RUBY_PLATFORM => "i386-freebsd6" >> RUBY_RELEASE_DATE => "2007-03-13" >> RUBY_PATCHLEVEL => 0 And the same, without RUBY_. > - whether it is executed by Ruby or JRuby? You probably have other constants telling you that. I'd suggest you inspect the contents of Object.constants to find them. Fred -- Your loved one are waiting, break out of your cage You have the power, give into your rage Listen to pride now for once he is right (Ayreon, The Human Listen to reason, let us be your guide Equation, Day 14 : Pride)