[TxMt] little-endian, ruby, and run script

Albert Vernon Smith smithav at cshl.edu
Mon Mar 13 14:52:43 UTC 2006


Thanks.  My $PATH already had /opt/local/bin on it, before the Apple  
path.  I got the right behavior by setting TM_RUBY.

Ty,
-albert

On 13.3.2006, at 14:25, Dave Baldwin wrote:

>
> On 13 Mar 2006, at 13:59, Albert Vernon Smith wrote:
>
>> Thanks for the info.
>>
>> Is there a way to configure Textmate to point to another version  
>> of Ruby, such as the version I compiled from DarwinPorts?
>>
>
>
> Set up an environmental variable TM_RUBY to point to the version  
> you want to use.  See TextMate manual for details on this.
>
> Alternatively include the directory holding the new ruby in your  
> PATH before the /usr/bin where the Apple Ruby lives.
>
> How you do this depends on which shell you are using.  For tcsh add  
> something similar to your .cshrc file in your home directory:
>
> set path = (/opt/local/bin $path)
>
> where opt/local/bin is where DarwinPorts has put Ruby (not sure if  
> this is the correct place - do ls to check).  You may need to  
> restart TextMate for it to see this change.




More information about the textmate mailing list