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/ process.rb around line 101 to
if ! File.executable?( cmd[ 0 ] ) puts "Bashbang #{cmd[0]} seems to be not executable" return [ "Error!", "" ] end
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
Regards Karl-Heinz