[TxMt] Ruby (Un)Comment command

William D. Neumann wneumann at cs.unm.edu
Wed Dec 22 17:17:17 UTC 2004


I'm trying to get the ruby version of the (Un)comment command running on 
my box, and I'm getting the following error:

/Users/wneuman/Library/Dev/TextMate/comment.rb:1: undefined method 
`extname' for File:Class (NameError)

You say that the script requires Ruby 1.8, and I should be fine there as 
I've got 1.8.1 installed...

Of course, the amount of Ruby I know would fit handily in my back pocket 
-- even if I had stuffed my back pocket full of marbles. handkercheifs, 
and gum wrappers beforehand, so I might just be doing something stupid 
here.  Any ideas on how to fix this?

William D. Neumann


---

"There's just so many extra children, we could just feed the
children to these tigers.  We don't need them, we're not doing 
anything with them.

Tigers are noble and sleek; children are loud and messy."

         -- Neko Case

  Think of XML as Lisp for COBOL programmers.

 	-- Tony-A (some guy on /.)



More information about the textmate mailing list