Welcome Guest | Login

Getting uninitialized constant ApplicationController::AuthenticatedSystem (NameError)

Hi,

I'm getting this error with my recently deployed app, I haven't managed to get it to work at all (I haven't even populated the DB since I can't run rake db:schema:load):

usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:492:in `const_missing': uninitialized constant ApplicationController::AuthenticatedSystem (NameError)

It references ~/my rails root/app/controllers/application.rb:5
which reads:   include AuthenticatedSystem

This module is part of Acts_As_Authenticated plugin, I've tried copying my vendor/plugins folder but that didn't work as well.
Should I request all the plugins I use to be installed as gems?
Should I install plugins, such as this, using script/plugin install?

Thank you,
Martinho.

2008-06-29 04:06 AM

Hi there - you can try moving the folders between vendor/ and vendor/plugins - I've seen things work in one but not the other.

Yes you can try the script/plugin install - also check permissions to make sure the folders are chmod 755 and files 644

2008-06-29 11:26 AM

I've somehom managed to get around this (adding my local lib/ files to RAILS_ROOT/lib/...).
Now I'm getting html print out on firefox every time I try to run an action for any controller that does anything.
I haven't quite understood what's causing this...

Thanks,
Martinho.

2008-06-29 07:51 PM

Hi Martinho,

I've replied to your support request. Please have a look.

2008-06-29 10:14 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.