From: Eric Hodel Date: 2011-09-15T06:05:21+09:00 Subject: Re: Get interpreter path On Sep 14, 2011, at 11:43 AM, Michal Suchanek wrote: > And neither works: > > cp `which ruby` ~/bin/testruby > testruby -rubygems -e "require 'rake' ; p RUBY" > "/usr/bin/ruby1.8" > testruby -rubygems -e "require 'os' ; p OS.ruby_bin" > "/usr/bin/ruby1.8" Moving ruby from where it was installed is not a good idea. It expects to be run from where `make install` put it, not from any other location.