# Fri: how to use correct gem index

**URL:** <https://www.ruby-forum.com/t/fri-how-to-use-correct-gem-index/129571>\
**Category:** Ruby\
**Created:** [February 19, 2008, 7:34pm UTC](https://www.ruby-forum.com/t/fri-how-to-use-correct-gem-index/129571 "2008-02-19T19:34:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/da6949/32.png) [@cwd](https://www.ruby-forum.com/u/cwd)\
**Post date:** [February 19, 2008, 7:34pm UTC](https://www.ruby-forum.com/t/fri-how-to-use-correct-gem-index/129571/1 "2008-02-19T19:34:13Z")

</div>

I installed fri and it is somehow thinking it should look for doc on  
old gems. For example, I have actionpack-2.0.2 installed, yet fri is  
looking for actionpack-1.13.3.

I did a gem cleanup and then a rake redoc

Typing:

fri -L form\_for

gives me:

/opt/local/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/  
ri\_index.rb:346:in `initialize': No such file or directory - /opt/ local/lib/ruby/gems/1.8/doc/actionpack-1.13.3/ri/ActionView/Helpers/ FormHelper/form_for-i.yaml (Errno::ENOENT) from /opt/local/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/ ri_index.rb:346:in`open’  
from /opt/local/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/  
ri\_index.rb:346:in `get_method' from /opt/local/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/ ri_service.rb:219:in`info’  
from /opt/local/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/  
ri\_service.rb:422:in `capture_stdout' from /opt/local/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/ ri_service.rb:218:in`info’  
from /opt/local/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/bin/fri:342  
from /opt/local/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/bin/fri:337:in  
`each' from /opt/local/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/bin/fri:337 from /opt/local/bin/fri:16:in`load’  
from /opt/local/bin/fri:16

Should bugs be reported on rubyforge? (not sure if this is a bug or  
user error.)

Thx

---

<div class="post-metadata">

**Author:** ![cwd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/da6949/32.png) [@cwd](https://www.ruby-forum.com/u/cwd)\
**Post date:** [February 19, 2008, 7:39pm UTC](https://www.ruby-forum.com/t/fri-how-to-use-correct-gem-index/129571/2 "2008-02-19T19:39:33Z")

</div>

Alle Tuesday 19 February 2008, s.ross ha scritto:

> gives me:  
> ri\_service.rb:219:in `info’
> 
> Should bugs be reported on rubyforge? (not sure if this is a bug or  
> user error.)
> 
> Thx

Have you tried rebuilding the fastri index?

fastri-server -b

or, if you want to use full-text search,

fastri-server -Bb

Stefano

---

<div class="post-metadata">

**Author:** ![cwd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/da6949/32.png) [@cwd](https://www.ruby-forum.com/u/cwd)\
**Post date:** [February 19, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/fri-how-to-use-correct-gem-index/129571/3 "2008-02-19T20:04:25Z")

</div>

On Feb 19, 2008, at 10:38 AM, Stefano C. wrote:

> > 
> 
> Have you tried rebuilding the fastri index?
> 
> fastri-server -b
> 
> or, if you want to use full-text search,
> 
> fastri-server -Bb
> 
> Stefano

Worked like a charm. Is there any writeup on the Web about this? All I  
found was the rubyforge page and the home page at  
[http://eigenclass.org/hiki.rb?fastri](http://eigenclass.org/hiki.rb?fastri)  
is serving up a 503.

Thx,

–s
