Posted by Vince Wadhwani on Sep 05, 2008

If you've been happily running a rails site but then suddenly start getting weird errors that look like

End-of-File Error occured at :103 in xpop_context
Error occured in store.c:107 - is_refill
        current pos = 0, file length = 182
chances are you're running Ferret and using the Acts as Ferret plugin. To solve your issue, you've got to erase your index. Ferret will automagically rebuild it next time it's needed and your error should disappear.

Your index is going to be a directory called index (go figure). It'll be in the root of your Rails Application. Go forth and sudo rm -rf it!