[TxMt] Ruby (Un)Comment command

jeremy*pinnix jpinnix at pixelgrazer.com
Wed Dec 22 16:53:23 UTC 2004


It sounds like you need a .bashrc file in your home dir. For some 
reason, TextMate seems to look there instead of .bash_profile.

It would need to contain:

PATH=/usr/local/bin:$PATH

or wherever your updated (non-apple) version of ruby lives..

On Dec 22, 2004, at 11:17 AM, William D. Neumann wrote:

> 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 /.)
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
>




More information about the textmate mailing list