From: James Gray Date: 2009-04-20T08:51:27+09:00 Subject: Re: Which ruby is running me? On Apr 19, 2009, at 6:45 PM, John Carter wrote: > What is the One True Way of finding the path to _the_ instance of ruby > that is currently executing this script? I'm pretty sure this always works: $ ruby -r rbconfig -e 'p File.join(Config::CONFIG.values_at(*%w[bindir ruby_install_name])) + Config::CONFIG["EXEEXT"]' "/usr/local/bin/ruby" James Edward Gray II