TextMate Runner Bug in 64bit Snow Leopard
When running the 64bit kernel in Snow Leopard, TextMate will fail to execute most scripts.
This produces the following error for me (in the case of a Ruby script):
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/process.rb:169:in `fcntl': Inappropriate ioctl for device (Errno::ENOTTY) from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/process.rb:169:in `run' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor.rb:211:in `parse_version' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor.rb:98:in `run' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:93
I was able to "fix" it by commenting out line 169 in:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/process.rb
I haven't noticed any adverse affects (yet).
Trackbacks
Use the following link to trackback from your own site:
http://blog.chrispcritter.com/trackbacks?article_id=63
Hi there, Thanks for the fix. I was having the same issue when compiling latex docs. Have you open a bug report on textmate?
thanks again,
Carlos Queiroz
This also helped me out, thanks!
This seems to work for me to. How do you file a bug?
what’s this? iphone application?
Awesome! Thanks! :)
Great! Finally a fix! Haven’t been able to compile LaTeX documents using TextMate for quote some time, and I never realized it to be a 64-bit Kernel issue.
Thanks again! This worked wonders for me.