500 error after upgrading to RoR 1.2.1

I’m getting HTTP 500 errors after upgrading from RoR 1.1.6 to 1.2.1 and
Ruby 1.8.4 to 1.8.5 (running on Win2k + Eclipse 3.2.1 + Rails plug-in).

The log file gives the following error message:

Expected ./script/…/config/…/app/controllers/store_controller.rb to
define StoreController

However, my controller definitely does have a class called
StoreController.

Anyone been here, done this and got the tee-shirt?

TIA, Mick

try load ‘/path/to/store_controller’ in your ./script/console to see if
the controller loads without errors…

On Jan 24, 3:11 pm, Mick S. [email protected]

Thanks for the suggestion. It turned out to be some plugins in my vendor
directory that are incompatible with RoR 1.2.1 (namely 'engines’and
‘datebocks_engine’). Rails loads any plugins it finds in the vendor
directory unless you tell it to do otherwise using the config.plugins
line in environment.rb .

(seems like my reply lost somewhere…)
Cool!
And I was wondering why this loading error doesn’ get propagated to the
top, so you can see real issue in stack trace.
Looks like a bug, doesn’t it ?

Can anyone explain this?

On Jan 25, 7:10 pm, Mick S. [email protected]