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:
http://blog.dnite.org/2007/8/28/textmate-and-your-environment-variables/comments/7006#comment-7006
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/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin
Don’t forget to log out & in for it to take effect. Worked for me!
Lisa