My laptop crashed and when it rebooted, “cmd /” (toggle comment) was broken. When I try to toggle comments on a line that only contains “foo”, I get this output in my code instead of “# foo”:
/tmp/temp_textmate.2erfLj:68:in
/bin/bash: -c: line 0: unexpected EOF
while looking for matching''”
/bin/bash: -c: line 1: syntax error:
unexpected end of filemap' for "
foo":String (NoMethodError) from
/tmp/temp_textmate.2erfLj:48:in
/bin/bash: -c: line 0: unexpected EOF
while looking for matching
/bin/bash: -c: line 2: syntax error:
unexpected end of file’
This is driving me nuts
I had this same problem. Reinstalling TextMate seems to have solved the problem.
This problem appeared after migrating from one Mac to another. I’m not sure if thats the cause though. They where both MacBook Pro’s running snow leopard.