[TxMt] Re: cool rubymate help feature that comes and goes

James Gray james at grayproductions.net
Wed Jul 2 15:30:54 UTC 2008

On Jun 28, 2008, at 12:06 PM, Matt Neuburg wrote:

> On 6/27/08 9:43 AM, in article C48A66D5.3E413%matt at tidbits.com, "Matt
> Neuburg" <matt at tidbits.com> wrote:
>> For a while, there was this great feature in RubyMate. When you  
>> select a
>> term in your script and press control-H, RubyMate would consult ri  
>> (or fri
>> or whatever it is) and, if there were multiple alternatives found,  
>> would
>> list them all in a little tooltip or popup menu beneath the mouse.  
>> So if you
>> said "gsub" you might see Kernel#gsub, String#gsub, and so on. This  
>> is a
>> menu so you could click an alternative and do a lookup of that in  
>> the help.
>> Very nice.
>> The thing is, though, that this feature has completely vanished as  
>> if I'd
>> only dreamt it. Does anyone know how I can get it back?
> Just to answer my own question - made it reappear, apparently by
> reinstalling fastri *again*. It seems that this feature depends upon  
> fastri
> and that fastri itself has a mysterious random tendency to vanish  
> from my
> machine...? m.

We definitely favor fastri, because it's so much more accurate.   
However, the command is suppose to work without the install as well.

I'm not sure how you lost the fastri install.  It lives in Ruby's lib  
directories with other gems you have installed, so it shouldn't  
randomly vanish without outside help.

About the only solution I dream up is that you could have two Ruby  
installs on your machine and something changed to affect which one  
TextMate uses.  You might try typing the following in a TextMate  
document and pressing control-R on that line to see if it's using the  
Ruby you expect it to:

   which ruby

I admit that I'm totally guessing there though.

James Edward Gray II

More information about the textmate mailing list