François Beausoleil wrote:
> 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.

I had the same problem, with acts_as_ferret's ferret_server.log being 
around 101 MB for every DRb request that resulted with 
"SystemStackError: stack level too deep".

Removing the lines that required the models from my environment.rb 
definitely did the trick.

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

Reply via email to