Uninitialized constant ApplicationController?

Hello list,

I’m trying to start my Rails server after doing a long complex switch
from Postgres to MySQL, and I’m getting the following error:

=> Booting WEBrick…
const_missing': uninitialized constant ApplicationController (NameError) from script/../config/../vendor/plugins/user_engine/lib/user_engine.rb:74:inincluded’
from ./script/…/config/…/app/helpers/application_helper.rb:5
require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:inrequire’
load_plugin' from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/initializer.rb:311:inload_plugin’
silence_warnings' from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/initializer.rb:311:inload_plugin’
… 10 levels…

I’ve seen the ‘Uninitialized constant …’ message before, but it’s
always been because of a simple typo on my part, or a version mismatch
somewhere. I’m on Gentoo Linux, MySQL 5.0.18, Rails 1.0, current
versions of login_engine and user_engine, and that combination of
versions seems to be fine as far as I can tell.

Any suggestions where to look?

Thanks in advance

Dave M.

Mr Mitchell:
On Jan 31, 2006, at 5:03 PM, David M. wrote:

=> Booting WEBrick…
`const_missing’: uninitialized constant ApplicationController

Make sure the app/controllers/application.rb file exists.

Hasan D. [email protected]

Thanks Hasan,

I checked that it is there, appears to be correct, but the problem is
still occurring.


Dave M.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs