On Nov 8, 2006, at 5:21 PM, Adre wrote:
Thanks you all for your quick replies and suggestions, I'm happy to say it's now working. It seems Chris and Allan were on the right lines, but I was a little confused as I am already running Ruby on Rails with a 1.8.4 install of Ruby!
Well it seems that for whatever reason TextMate was showing a preference for the pre-installed 1.6 version in /usr/bin rather than the 1.8 version in /usr/local/bin, which appears first in $PATH. A quick trip to TextMate's Preferences>Advanced>Shell Variables to create TM_RUBY and point it to my 1.8 installation and everything's back to normal.
http://macromates.com/textmate/manual/shell_commands#search_path
See the above if you'd like to really fix your path rather than just patching around the real problem :)