gettext 1.10: uninitialized constant ApplicationController

When running rake updatepo with gettext 1.10, for several controllers it gives

Ignored 'app/controllers/sample_controller.rb'. Solve dependencies first.
/Users/sava/code/sht/trunk/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:266:in `load_missing_constant': uninitialized constant ApplicationController

Rails is 1.2.5, frozen in the application.