[TxMt] "interpreter failed: No such file or directory" when using commands

Chris Yates cyates at lowcountrynewspapers.com
Fri Oct 26 13:57:30 UTC 2007


On 10/26/07 9:50 AM, "Ciarán Walsh" <ciawal at gmail.com> wrote:

> 
> On 26 Oct 2007, at 08:44, Chris Yates wrote:
> 
>> 
>> I'm getting the message "interpreter failed: No such file or directory" when
>>  
>> 
>> I try to use bundle commands that are written in Ruby, including commenting,
>>  
>> 
>> HTML's "Convert selection to entities" and so on.
>>  
> 
> Sounds like you already did, but make sure you
> read http://macromates.com/textmate/manual/shell_commands#search_path


Yup, I've looked at that page, where I got the environment.plist tip from.
My path looks like so:

/bin:/sbin:/usr/bin:/usr/sbin:/sw/bin:/usr/local/bin:/opt/gnome-2.14/bin:/op
t/local/bin

>From my the /etc/profile + .bash_profile PATHs

> Also try putting
> 
> which ruby
> 
> And 
> 
> echo $TM_RUBY
> 
> on a line in a TM document and pressing ⌃R to see the result.

I get

/usr/bin/ruby

And no result from echo $TM_RUBY

-chris





More information about the textmate mailing list