We have an application that uses Ferret and acts_as_ferret that we  
just upgraded to Ferret 0.10.5 (from 0.9.5) and the corresponding  
version of the acts_as_ferret.  Everything works as expected on my  
laptop, which is running mongrel 0.3.13.3.  When I deploy the  
application on our server, which is running some version of Red Hat  
Linux, I can't get Ferret to work at all when running under mongrel  
(again, version 0.3.13.3).  Oddly, everything works fine if I open a  
console and rebuild the index or run a search.

  When I access the site via the web and try to modify a document  
that triggers indexing, I get the following error:

A NoMethodError occurred in questions#update_faq:

   undefined method `new' for Ferret::Document:Module
   [RAILS_ROOT]/vendor/plugins/acts_as_ferret/lib/instance_methods.rb: 
110:in `to_doc'

  When I try to run a search, I get no results at all even though the  
documents are indexed. (I can run searches fine from the Rails console.)

  Anyone ever seen anything like this?  I have no idea what it is  
about the ferret/mongrel/Linux combination that's causing these  
problems.

  --Rafe
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to