On Thu, Aug 24, 2006 at 09:50:14AM +0200, Mufaddal Khumri wrote:
> I am trying to test drive ferret on a ubuntu dapper installation.
> 
> I have a ferret-test.rb file like:
> ----begin---------
> require 'ferret'
> include Ferret
> index = Index::Index.new(:path => '/opt/search-index')
> ----end-----------
> 
> When i issue: ruby ferret-test.rb, I get:
> 
> ferret-test.rb:1:in `require': no such file to load -- ferret 
> (LoadError)
>         from ferret-test.rb:1
> 
> How do I resolve this issue? What am I missing?

require 'rubygems' 
require 'ferret'

should work.

Jens


-- 
webit! Gesellschaft für neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer       [EMAIL PROTECTED]
Schnorrstraße 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to