[TxMt] Re: what is 'qri' and why is it messing up my Ruby Documentation feature?
James Gray
james at grayproductions.net
Mon May 5 21:24:22 UTC 2008
On May 5, 2008, at 4:13 PM, Matt Neuburg wrote:
> 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".
No it's not. My mistake.
Are we talking about two different Ruby installs here by chance? What
does:
which gem
say, both from the command-line and when you control-r that line in
TextMate?
James Edward Gray II
More information about the textmate
mailing list