[TxMt] Re: TODO on 10.3.9

Allan Odgaard throw-away-1 at macromates.com
Mon Feb 27 15:50:44 UTC 2006


On 27/2/2006, at 15:22, Stephen Hamilton wrote:

> I actually remembered having a ruby problem with diff a few months  
> back
> and so had already upgraded ruby via darwinports. I'm now runing  
> ruby @1.8.4_1.

One thing is to install Ruby 1.8, another is to setup the PATH so  
that the system will find 1.8 first.

When running scripts via shebang, TM uses the PATH inherited from  
Finder, which won’t include where DP store binaries. For these to use  
1.8 you will need to edit the ~/.MacOSX/environment.plist file as  
described in [1] (and put the DP location first).

However, we generally try to make the commands work with Ruby 1.6. I  
updated the command to not make use of the Set class and also do  
regexp matching differently, which should hopefully make it work for  
1.6.

Let me know if you continue to have a problem.


[1] http://macromates.com/textmate/manual/shell_commands#search_path




More information about the textmate mailing list