# Class definition missing error

**URL:** <https://www.ruby-forum.com/t/class-definition-missing-error/126971>\
**Category:** Rails\
**Created:** [January 23, 2008, 9:40pm UTC](https://www.ruby-forum.com/t/class-definition-missing-error/126971 "2008-01-23T21:40:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrochkind](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Post date:** [January 23, 2008, 9:40pm UTC](https://www.ruby-forum.com/t/class-definition-missing-error/126971/1 "2008-01-23T21:40:31Z")

</div>

In my Rails app, I am occasionally getting a class definition missing  
error. I see this error in my logs, and every once in a while run into  
it myself, but not in a way I can reproduce. The error looks like:

/data/web/findit/Umlaut/config/…/lib/hip3/bib\_searcher.rb to define  
Hip3::BibSearcher

But, bib\_searcher.rb DOES define Hip3::BibSearcher! And the error is  
not easily reproducable, it seems to crop up in mysterious places.

Has anyone run this sort of thing? Any ideas? Thanks for any.

Jonathan

---

<div class="post-metadata">

**Author:** ![jrochkind](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Post date:** [January 24, 2008, 9:42am UTC](https://www.ruby-forum.com/t/class-definition-missing-error/126971/2 "2008-01-24T09:42:26Z")

</div>

is bib\_searcher.rb located at

RAILS\_ROOT/lib/hip3/bib\_searcher.rb  
or  
RAILS\_ROOT/lib/bib\_searcher.rb
