On Thu, Nov 09, 2006 at 12:46:42PM +0900, Louis J Scoras wrote:
> One thing I noticed is that it blows up if you don't have rubygems
> installed--I know, probably not very likely at this point; I only
> noticed because I'm still setting up a new laptop and I saw your note
> about the tarball being faster.
> 
> lou@aurora:~/src/fastri-0.1.0$ fastri-server
> Building index.
> /usr/local/lib/site_ruby/1.8/fastri/ri_index.rb:192:in
> `rebuild_index': uninitialized constant FastRI::RiIndex::Gem
> (NameError)
>        from /usr/local/lib/site_ruby/1.8/fastri/ri_index.rb:189:in
> `rebuild_index'
>        from /usr/local/lib/site_ruby/1.8/fastri/ri_index.rb:177:in
> `new_from_paths'
>        from /usr/bin/fastri-server:43:in `make_index'
>        from /usr/bin/fastri-server:93
> 
> So I installed gems and now it's working correctly.

Thanks for reporting this; I've wrapped that code with 
  begin
    require 'rubygems'
    ....
  rescue LoadError
  end
so that it doesn't try to infer package names from the full path if RubyGems
is not installed. I've pushed the patch to the online 0.1 branch, and it will
be in 0.1.1 later today.

-- 
Mauricio Fernandez  -   http://eigenclass.org   -  singular Ruby