On Mon, Oct 16, 2006 at 02:16:59AM -0400, Jordan Frank wrote:
> Hi all,
> first off, it's 2AM and I'm not thinking properly, so please
> forgive me if this one's easy, but I just need to get this going.
>
> First problem, using 0.9.6 on all of our development machines,
> works great, then we move it to a server running x86_64 linux and it
> segfaults as soon as it tries to create an Index. I've tried
> rebuilding with different optimization flags, to no avail. So I
> figured, hey, let's upgrade to 0.10.x and see how that goes. So I
> updated to the latest gem of ferret, and switched over to the stable
> tagged branch of acts_as_ferret, but now I get the following:
>
> >> Person.rebuild_index
> NoMethodError: undefined method `exists?' for {:index=>:yes,
> :term_vector=>:no, :store=>:no, :boost=>1.0}:Hash
> from /usr/lib/ruby/site_ruby/1.8/ferret/index/field_infos.rb:20:in
that field_infos.rb seems to belong to an older version of Ferret. Mine
(0.10.11) doesn't call exists? anywhere.
I think I've seen that problem before, you should check where your gem
install command installed ferret to, and if you have lying around an
older version in /usr/lib/ruby/site_ruby (that location doesn't look
like a gem repository anyway).
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