[TxMt] interpreter failed: No such file or directory (add Comment error)

Allan Odgaard throw-away-1 at macromates.com
Wed Mar 8 22:09:06 UTC 2006


On 8/3/2006, at 19:52, Daniel Jewett wrote:

>> Yes -- could you try e.g. HTML -> Convert Selection to Entities? This
>> is also a Ruby script started similiar to the Toggle Comment.
> That command works like a charm. Maybe I'm looking at "time to clean
> out preferences and reinstall?"

I don’t see this as preferences related. Basically TM just calls  
execve() with the interpreter specified in the script, and it is this  
function which fails. No preferences should affect it.

However, could you verify that the first line of the script actually  
has:

    #!/usr/bin/env ruby

The script can be found via Window -> Show Bundle Editor, and then  
opening the Source bundle and clicking the Comment Line / Selection  
item.

You may want to try and change it, to see if this also gives an  
(interpreter) error:

    #!/usr/bin/ruby




More information about the textmate mailing list