Comments on: How to run FastRI on Ruby 1.9.1 http://writequit.org/blog/2009/07/06/how-to-run-fastri-on-ruby-1-9-1/ Tu fui, ego eris Fri, 15 Aug 2014 11:26:27 +0000 hourly 1 http://wordpress.org/?v=4.1.5 By: Arnaud Meuret http://writequit.org/blog/2009/07/06/how-to-run-fastri-on-ruby-1-9-1/comment-page-1/#comment-670 Tue, 10 Aug 2010 12:49:22 +0000 http://writequit.org/blog/?p=307#comment-670 Solved the superclass mismatch problem; now it works nicely.

All I had to do (after understanding the message, thanks to http://jackndempsey.blogspot.com/2008/06/superclass-mismatch.html) was get rid of old rdoc gems (sudo gem uni rdoc).

]]>
By: Arnaud Meuret http://writequit.org/blog/2009/07/06/how-to-run-fastri-on-ruby-1-9-1/comment-page-1/#comment-669 Tue, 10 Aug 2010 11:46:06 +0000 http://writequit.org/blog/?p=307#comment-669 Yes, same thing on Linux, it has been broken since at least ruby 1.9.1p376 (2009-12-07 revision 26041).

Sad.

]]>
By: Leonardo Valeri Manera http://writequit.org/blog/2009/07/06/how-to-run-fastri-on-ruby-1-9-1/comment-page-1/#comment-668 Fri, 06 Aug 2010 01:35:52 +0000 http://writequit.org/blog/?p=307#comment-668 Here its failing with a superclass mismatch for class Paragraph from rdoc/markup/fragments.rb:4 on 1.9.1p429 Winstaller as soon as any part of fastri is called …

]]>
By: Moritz Bunkus http://writequit.org/blog/2009/07/06/how-to-run-fastri-on-ruby-1-9-1/comment-page-1/#comment-591 Thu, 11 Mar 2010 21:37:53 +0000 http://writequit.org/blog/?p=307#comment-591 My point is that “the fastri from here” doesn’t work properly for me. fastri-server outputs to its stdout which is totally useless as fastri-server is usually started as a daemon.

As for fastri in rb: yes, I did use it and I love it’s tab completion (well, that’s actually provided by “irb_lookup”). I didn’t know ri_for and will give it a try. irb_lookup has code for invoking ri instead of fri, so I’ll try that as well combined with the newer ri gem.

]]>
By: roger http://writequit.org/blog/2009/07/06/how-to-run-fastri-on-ruby-1-9-1/comment-page-1/#comment-590 Thu, 11 Mar 2010 20:05:23 +0000 http://writequit.org/blog/?p=307#comment-590 AS a note newer versions of RDoc have an ri lookup that is *much* faster.
Doing a gem install rdoc helps much in this regard.

For those looking for irb fastri you could checkout ri_for
http://github.com/rdp/ri_for

or such (or use fastri from here). That’s about your only options :)

-r

]]>
By: Moritz Bunkus http://writequit.org/blog/2009/07/06/how-to-run-fastri-on-ruby-1-9-1/comment-page-1/#comment-589 Thu, 11 Mar 2010 10:15:24 +0000 http://writequit.org/blog/?p=307#comment-589 Unfortunately your patch doesn’t work right for me. It applies cleanly to fastri 0.3.1, no error messages, but whenever I invoke “fri” the output from fastri-server goes to fastri-server’s stdout, and “fri” itself only outputs a single blank line.

Any idea how to fix that?

]]>
By: Bhrgunatha http://writequit.org/blog/2009/07/06/how-to-run-fastri-on-ruby-1-9-1/comment-page-1/#comment-532 Tue, 03 Nov 2009 04:26:02 +0000 http://writequit.org/blog/?p=307#comment-532 I came across another problem – trying to build a full text index using fastri-server -B fails.

You can fix it by changing line 57 of fastri-server (in the make_full_text_index method) from:

paths = [ RI::Paths::SYSDIR, RI::Paths::SITEDIR, RI::Paths::HOMEDIR ].find_all do |p|

to

paths = [ ::RDoc::RI::Paths::SYSDIR, ::RDoc::RI::Paths::SITEDIR, ::RDoc::RI::Paths::HOMEDIR ].find_all do |p|

]]>
By: Lee http://writequit.org/blog/2009/07/06/how-to-run-fastri-on-ruby-1-9-1/comment-page-1/#comment-491 Tue, 21 Jul 2009 05:01:27 +0000 http://writequit.org/blog/?p=307#comment-491 Next time someone mentions FastRI I will :)

]]>
By: roger http://writequit.org/blog/2009/07/06/how-to-run-fastri-on-ruby-1-9-1/comment-page-1/#comment-490 Mon, 20 Jul 2009 14:02:45 +0000 http://writequit.org/blog/?p=307#comment-490 suh weet. Maybe advertise it on ruby talk so people know? :)
=r

]]>
By: Lee http://writequit.org/blog/2009/07/06/how-to-run-fastri-on-ruby-1-9-1/comment-page-1/#comment-488 Fri, 17 Jul 2009 19:00:03 +0000 http://writequit.org/blog/?p=307#comment-488 @Roger,
Alrighty, I’ve set up a project and had github build a gem, you can install it with ‘sudo gem install dakrone-fastri’. Enjoy!

]]>