Re: TextMate bundle not using environment variable to find Ruby library

Something is going on in my TextMate bundle–it’s calling the wrong lib
for Ruby. I have the environment variables set like this:

TM_RSPEC_HOME /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.3
TM_RUBY /usr/local/bin/ruby

How can I get TextMate to use the library in usr/local/bin/ruby instead
of looking in usr/local/bin/ruby?
I finally found the answer to this and wanted to post it in case anyone
else is searching for help on this in the Archives.

I found instructions on this blog:

It shows how to set up a new environment.plist file here
‘~/.MacOSX/environment.plist’ with the correct PATH definition:

<?xml version="1.0" encoding="UTF-8"?> PATH


Don’t forget to log out & in for it to take effect. Worked for me!