I have the same error hype had, but his solution didn't help me. LoadError (Expected /var/www/time/app/models/task.rb to define Task): /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:249:in `load_missing_constant' /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in `const_missing' /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:465:in `const_missing' . . . . . Rendering /var/www/time/public/500.html (500 Internal Server Error)
Oh man, working on this problem since yesterday and now it suddenly seems to work. This forum must be a magic place. :) Thanks anyway. After posting my problem I entered this:
nohup ./script/push_server & ./script/ferret_server -e production start
and since then it seems to work. For what do I need the ferret server? What is it?
Ferret is the search-engine bundled with ClockingIT, as searching in the database causes a lot of load and problems. But, it seems Ferret is causing some problems as well, as people often forget to run it, or don't restart it after an upgrade, causing the rather obscure error you printed above.
I have everything ported over to UltraSphinx, but as that requires yet another software package to be installed, I'm a bit hesitant on pushing that change.