[TxMt] Re: Ruby interpreter

Alex Ross tm-alex at rosiba.com
Fri Dec 5 18:06:46 UTC 2008


On Dec 5, 2008, at 9:24 AM, Nicholas Wieland wrote:

> Il giorno 05/dic/08, alle ore 15:33, James Gray ha scritto:
>
>> On Dec 5, 2008, at 8:25 AM, Nicholas Wieland wrote:
>>
>>> Hi guys, Textmate doesn't seem to catch the correct interpreter, no
>>> matter what I do ...
>>
>> Does this help?
>>
>> http://wiki.macromates.com/Troubleshooting/RubyVersionIssue
>
> It helps to make me know there's something wrong in there :)
> If I ctrl+R
>
> #!/bin/sh
> echo "$PATH"
>
> I get
>
> #!/bin/sh
> echo "$PATH"/usr/bin:/bin:/usr/sbin:/sbin
>
> also:
>
> ngw at slicingupeyeballs ~$ cat .MacOSX/environment.plist
> { PATH = "/Users/ngw/bin:/opt/local/bin:/opt/local/sbin:/usr/local/ 
> bin:/usr/local/sbin:/opt/local/lib/postgresql83/bin:/usr/bin:/bin:/ 
> usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"; }
> ngw at slicingupeyeballs ~$


It definitely looks like your PATH var is not set right.

You can set PATH in TextMate's Shell Variables preferences.  That's  
the best way to do it currently…

—Alex


More information about the textmate mailing list