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

Matt Neuburg matt at tidbits.com
Mon May 5 21:13:40 UTC 2008


On 5/5/08 1:44 PM, in article
6A269DA0-1BE6-438F-9892-F4229B4DDD13 at grayproductions.net, "James Gray"
<james at grayproductions.net> wrote:

> 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.

$ gem --version
1.1.1

That's not "pretty old". But maybe you're referring to something else that I
should be updating? Thx - m.

PS Note that "ri" is working fine, and gems are working fine as far as I can
tell.

-- 
matt neuburg, phd = matt at tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>






More information about the textmate mailing list