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

Chris Yates cyates at lowcountrynewspapers.com
Fri Oct 26 17:00:47 UTC 2007


On 10/26/07 12:47 PM, "Allan Odgaard" <throw-away-2 at macromates.com> wrote:

> On 26/10/2007, at 18:36, Chris Yates wrote:
> 
>>> [...]
>> I figured that was the problem, but I can run ruby scripts from the
>> command
>> line using /usr/bin/env ruby, and I've also tried editing the script
>> in the
>> bundle, replacing /usr/bin/env ruby with /usr/bin/ruby
>> 
>> I haven't made any changes to my bash files lately either, which has
>> me
>> perplexed.
> 
> The error is indicative of not finding /usr/bin/env -- PATH and
> similar doesn¹t really matter here.
> 
> So Q do you have /usr/bin/env and are you using Tiger (Panther did not
> support arguments for execv interpreters, so likely on a Panther
> system it could fail with such error)?

Allan, I'm running 10.4.10 (upgraded last night from 10.4.8 to see if it
would fix the problem - it didn't). It seems that /usr/bin/env works:

which env
/usr/bin/env

/usr/bin/env ruby -e 'puts "Foo"'
Foo

-chris




More information about the textmate mailing list