# Trying to install fastri-server

**URL:** <https://www.ruby-forum.com/t/trying-to-install-fastri-server/167109>\
**Category:** Ruby\
**Created:** [May 4, 2009, 5:01am UTC](https://www.ruby-forum.com/t/trying-to-install-fastri-server/167109 "2009-05-04T05:01:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![snowbird122](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Post date:** [May 4, 2009, 5:01am UTC](https://www.ruby-forum.com/t/trying-to-install-fastri-server/167109/1 "2009-05-04T05:01:49Z")

</div>

Hi -

I’m new to Ruby/gems, etc. I wanted to put autocompletion on my irb. I  
discovered [http://eigenclass.org/hiki/fastri](http://eigenclass.org/hiki/fastri) and followed directions (or  
thought I did) to install the fastri gem. The problem is that I keep  
getting the following error when I execute fastri-server. Client/server  
are both on my local machine:

fastri-server  
internal:gem\_prelude:249:in `push_gem_version_on_load_path': undefined method `\<=\>’ for nil:NilClass (NoMethodError)  
from internal:gem\_prelude:14:in `gem' from /home/eric/.gem/ruby/1.9.1/bin/fastri-server:18:in `’

If I try to run fri I also get…

fri  
internal:gem\_prelude:249:in `push_gem_version_on_load_path': undefined method `\<=\>’ for nil:NilClass (NoMethodError)  
from internal:gem\_prelude:14:in `gem' from /home/eric/.gem/ruby/1.9.1/bin/fri:18:in `’

It seems the problem may be consistent with trying to run any gem.

I’m running Ubuntu 8.10 (intrepid)

* * *

Results of some attempts to solve the problem below…

* * *

which ruby  
/usr/local/bin/ruby

* * *

which gem  
/usr/local/bin/gem

* * *

ruby -v  
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]

* * *

gem environment  
RubyGems Environment:

- RUBYGEMS VERSION: 1.3.2
- RUBY VERSION: 1.9.1 (2009-01-30 patchlevel 0) [i686-linux]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.9.1
- /home/eric/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update\_sources =\> true
- :verbose =\> true
- :benchmark =\> false
- :backtrace =\> false
- :bulk\_threshold =\> 1000
- REMOTE SOURCES:
- [http://gems.rubyforge.org/](http://gems.rubyforge.org/)

* * *

gem install fastri  
WARNING: Installing to ~/.gem since /usr/local/lib/ruby/gems/1.9.1 and  
/usr/local/bin aren’t both writable.  
WARNING: You don’t have /home/eric/.gem/ruby/1.9.1/bin in your PATH,  
gem executables will not run.

…

Successfully installed fastri-0.3.1.1  
1 gem installed  
Installing ri documentation for fastri-0.3.1.1…  
Updating class cache with 1405 classes…  
Installing RDoc documentation for fastri-0.3.1.1…

…HERE THINGS SEEM OK EXCEPT FOR THE TWO WARNINGS ABOVE

* * *

gem list

\*\*\* LOCAL GEMS \*\*\*

fastri (0.3.1.1)

…THIS CONFIRMS fastri INSTALLED BUT WHEN I TRY TO RUN…

* * *

fastri-server  
internal:gem\_prelude:249:in `push_gem_version_on_load_path': undefined method `\<=\>’ for nil:NilClass (NoMethodError)  
from internal:gem\_prelude:14:in `gem' from /home/eric/.gem/ruby/1.9.1/bin/fastri-server:18:in `’

* * *

My path is:

PATH=~/.gem/:~/.gem/ruby/1.9.1/bin:/usr/local/lib/ruby/gems/1.9.1:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

* * *

I’ve gone as far as to download ruby-1.9.1-p0 then ./configure, make,  
make install route but at this point I’m spinning my wheels. If anyone  
has any ideas I’d sure love to hear. Thanks very much…

Eric

---

<div class="post-metadata">

**Author:** ![snowbird122](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Post date:** [May 5, 2009, 4:26am UTC](https://www.ruby-forum.com/t/trying-to-install-fastri-server/167109/2 "2009-05-05T04:26:51Z")

</div>

perhaps fastri isn’t quite 1.9 compat?  
Also note that you don’t need fastri per se for autocompletion in irb.  
utility\_belt does it, too, I believe.  
Cheers!  
-=r

> fastri-server  
> internal:gem\_prelude:249:in `push_gem_version_on_load_path': undefined method`\<=\>’ for nil:NilClass (NoMethodError)  
> from internal:gem\_prelude:14:in `gem’  
> from

---

<div class="post-metadata">

**Author:** ![snowbird122](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Post date:** [May 5, 2009, 9:06pm UTC](https://www.ruby-forum.com/t/trying-to-install-fastri-server/167109/3 "2009-05-05T21:06:02Z")

</div>

On May 4, 2009, at 19:26, Roger P. wrote:

> perhaps fastri isn’t quite 1.9 compat?

I don’t think fastri is RDoc 2 compliant, which Ruby 1.9 ships with.
