[TxMt] can TextMate (ruby) lose its mind?

Matt Neuburg matt at tidbits.com
Thu Apr 2 17:06:15 UTC 2009


This really just happened to me. Really. I know I produced some April Fools
jokes yesterday, but that was yesterday. This is real.

I created this Ruby script in TextMate:

s = "wackamole"
puts s

I ran it, and the RubyMate output window displayed:

woe

Weird, eh? And it is part of a longer story; the string "wag wag" was being
displayed as "w w", and the string "ruff ruff" was being displayed as empty.
(Never mind why I was testing those strings.)

I quit TextMate, restarted my computer, and everything is back to normal.
But would anyone like to suggest a cause for what happened? Cosmic rays?
Belated April Fools day easter-egg-type joke?? The conficker virus??? Has
anyone else ever seen anything like this? m.

PS The problem was presumably with TextMate, not with ruby, because using
the Terminal to run the same script (as a saved text file) using the "ruby"
command worked just fine.

-- 
matt neuburg, phd = matt at tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings






More information about the textmate mailing list