[TxMt] what is 'qri' and why is it messing up my Ruby Documentation feature?

James Gray james at grayproductions.net
Mon May 5 20:44:00 UTC 2008


On May 5, 2008, at 3:30 PM, Matt Neuburg wrote:

> When I press Control-H in a Ruby document, I don't get documentation  
> on
> what's selected; instead, I get an error message like this:
>
> /usr/local/bin/qri:17: undefined method `require_gem' for main:Object
> (NoMethodError)
>
> This just recently started happening (perhaps after updating some  
> gems).
> 'qri' itself may have been updated, as its date is April 23.
>
> What is 'qri'?

It's part of the fastri gem.  We prefer to use it in TextMate because  
it works a lot better than the ri program included with Ruby.

> It seems to be what's broken; if I just say "qri" in the
> Terminal I get the same message.

I believe you are using a pretty old version of RubyGems.  Update that  
and I bet the problem will disappear.

James Edward Gray II



More information about the textmate mailing list