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).

Posted by chrisp Fri, 20 Nov 2009 06:45:00 GMT


Trackbacks

Use the following link to trackback from your own site:
http://blog.chrispcritter.com/trackbacks?article_id=63

Comments

Leave a response

  1. Carlos Queiroz 15 days later:

    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

  2. Brian 2 months later:

    This also helped me out, thanks!

  3. Hippie Hacker 3 months later:

    This seems to work for me to. How do you file a bug?

  4. auto ac condenser 5 months later:

    what’s this? iphone application?

  5. René 6 months later:

    Awesome! Thanks! :)

  6. Rob F 6 months later:

    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.

Leave a comment