[TxMt] wrong executable in shebang ...

Karl-Heinz Wild kh.wild at wicom.li
Wed Aug 27 11:38:24 UTC 2008

When I try to start a ruby script, out of
textmate with "#!/usr/local/bin/ruby" which
is the wrong path, I get an error.

So I changed /Library/Application\ Support/TextMate/Support/lib/tm/ 
around line 101 to

         if ! File.executable?( cmd[ 0 ] )
           puts "Bashbang #{cmd[0]} seems to be not executable"
           return [ "Error!", "" ]

That's sub-ideal because the error message is written with the puts.
Maybe there is a better way doing this.

Maybe it's helpful


More information about the textmate mailing list