On Aug 12, 2009, at 9:41 AM, Mike Agres wrote:

> I had just installed Ruby 1.9.1 using MacPorts, but TextMate still
> interprets Ruby 1.8.6.
>
> I had gone into my Shell Variables under preferences and set the
> following:
>
> Variable: TM_RUBY
> Path: ./opt/local/bin/ruby1.9 (install location of my Ruby 1.9.1
> install).
>
> I ran a program, it ran on Ruby 1.9.1. I un-checked the Shell Variable
> preference; it ran on Ruby 1.8.6. I checked the setting and re-ran,  
> got
> a "Command Error at line 6" pointing to some file in /tmp.

I just ran through these steps and everything worked fine for me.

The error you show comes from where TextMate first invokes TM_RUBY.   
Are you sure you just checked and un-checked the box?  If you edited  
the contents, you may have made it invalid with an extra quote or  
something.  Just a thought.

> Is this configured properly? If so, what's wrong?
>
> If it's not, what's the proper configuration?

You are doing it right, yes.

James Edward Gray II