Problems in script/console after reload!

Hello!

My application is working fine. But when I try to go to script/console
strange things happens…

All controllers are broken just after hitting “reload!”. I think it is
because of ApplicationController. When I try to init any controller it
says “NameError: uninitialized constant ApplicationController”.

ApplicationController is located in app/controllers/application.rb,
Rails v. 1.1.6

Here is log:

ruby script/console

Loading development environment.

ApplicationController
=> ApplicationController

reload!
Reloading…
=> [User, ApplicationController, MailNotifier]

ApplicationController
NameError: uninitialized constant ApplicationController
from
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib
/active_support/dependencies.rb:123:in
enumerations_original_const_missing' from ./script/../config/../config/../vendor/plugins/trunk/lib/active_rec ord/virtual_enumerations.rb:63:inconst_missing’
from
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib
/active_support/dependencies.rb:131:in `const_missing’
from (irb):3

Does someone have any ideas? Thank you.