[TxMt] Re: Upgrading Ruby Bundle to use Ruby1.9
Allan Odgaard
mailinglist at textmate.org
Tue Feb 16 08:09:13 UTC 2010
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.
More information about the textmate
mailing list