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 seems to be what's broken; if I just say "qri" in the Terminal I get the same message.
Meanwhile, 'ri' works just fine in the Terminal.
Thx -
m.
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
On 5/5/08 1:44 PM, in article 6A269DA0-1BE6-438F-9892-F4229B4DDD13@grayproductions.net, "James Gray" james@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.
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@grayproductions.net, "James Gray" james@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
On 5/5/08 2:24 PM, in article 884BEC33-1BA4-4D54-BDA0-D39E089F6BCF@grayproductions.net, "James Gray" james@grayproductions.net wrote:
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-AUi9nNu29NfWNcQ1/nO7itHuzzzSOjJt@public. gmane.org, "James Gray" james@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?
Fixed it by re-installing fastri via direct download and running setup.rb, i.e. NOT as a gem. I think there might be something wrong with the gem. Anyhow, I'm up and running again with Control-H (with all the new pop-up menu goodness, which I never had in the past). Thanks!!!! m.