On 15 Feb 2010, at 10:32, Conrad Taylor wrote:
@Adam - Josh wants Textmate to reference the correct Ruby version when he switches it on the command line using RVM. Thus, he doesn't want to hard-code any particular version.
There is two ways to set which ruby TextMate should use. Setting PATH as has already been mentioned, or setting TM_RUBY to the exact binary, e.g. /usr/bin/ruby.
I believe there is a version of RVM which maintains a symlink to the “current” ruby, so one should set TM_RUBY to that symlink, or alternatively, let PATH include the directory of this symlink.