Ryan McHale wrote:

Looks like this fixed it:
http://www.ruby-forum.com/topic/90752#188252

Ie: moving the include inside my class.

I definitely think this should be mentioned in the documentation some 
where.

Ryan
> Hello,
> 
>  I try and run mongrel 1.0.1 and ferret 0.11.4 on Windows XP.
> 
>  To break mongrel all I have to do is invoke a class with Ferret in it.
> 
> Here's my class:
> 
>  require 'ferret'
> include Ferret
> 
> class SearchIndex
> 
>   def initialize
>     print "SearchIndex:Initialize\n";
>   end
> 
> end
> 
> 
> When I put this in my controller, I break mongrel:
> searchIndex  = SearchIndex.new
> 
> I can no longer perform a redirect_to properly.
> calls like this fail:  redirect_to '/wiki/page/'
> 
> I see this in the logs.
> Error calling Dispatcher.dispatch #<NameError: cannot remove
> Object::Document>
> 
> If I comment out the call to the SearchIndex class, all is well.
> 
> 
> Ryan

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to