> get current interpreter path

Gem.ruby # if you have rubygems loaded
or

OS.ruby_bin
=> "C:/installs/Ruby187/bin/ruby.exe"

with the OS gem.
-r

-- 
Posted via http://www.ruby-forum.com/.