Hello Jens,

2007/4/4, Jens Kraemer <[EMAIL PROTECTED]>:
> On Tue, Apr 03, 2007 at 03:34:11PM -0400, François Beausoleil wrote:
> > The DRb server process keeps on calling the remote index to the DRb
> > server process...  Which means DRb is calling itself, and itself, and
> > itself, until Ruby kills the Thread with a SystemStackLevel error.
> >
> [..]
>
> I'd guess that's the problem. The decision what indexer to use is made
> in act_methods.rb, line 62, depending on the state of
> ActsAsFerret::Remote::Server.running

Yup, you hit the nail on the head.  I require app/models/*.rb at the
end of config/environment.rb.  I can't test this right now, but I'll
try it when I get back to my office.

Your idea of using an ENV variable is probably a good idea.

I'll see about creating a patch for that.

Thanks !
-- 
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.org/
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to