# Problem with loading acts\_as\_authenticated plugin

**URL:** <https://www.ruby-forum.com/t/problem-with-loading-acts-as-authenticated-plugin/91068>\
**Category:** Rails\
**Created:** [April 4, 2007, 9:53am UTC](https://www.ruby-forum.com/t/problem-with-loading-acts-as-authenticated-plugin/91068 "2007-04-04T09:53:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![laurent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@laurent](https://www.ruby-forum.com/u/laurent)\
**Post date:** [April 4, 2007, 9:53am UTC](https://www.ruby-forum.com/t/problem-with-loading-acts-as-authenticated-plugin/91068/1 "2007-04-04T09:53:45Z")

</div>

I currently develop a little app, and i installed the  
acts\_as\_authenticated plugin  
Everything worked fine til yesterday evening. While working on CSS  
sheet, then testing iteratively : nothing worked.  
Checking the development.log file in my Rails app , it shows:

NameError (uninitialized constant  
ApplicationController::AuthenticatedSystem):  
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active\_support/  
dependencies.rb:477:in `const\_missing’

It comes from the :  
include AuthenticatedSystem  
declared in my application.rb file (inside the class)

When commenting it, no more problems.

It seems the plugin’s libraries are not loaded.  
Wht i do not understand, is i have another plugin installed :  
acts\_as\_taggable, which works perfectly.

After searching with Google, i had some configurations tricks in  
environment.rb \>  
Dependencies.log\_activity = true  
Dependencies.autoloaded\_constants  
Dependencies.load\_once\_paths

But nothing changes

Any help is needed

PS : my environment is :  
Mac OS X 10.4.9  
Ruby 1.8.2  
Rails 1.2.3

Laurent

---

<div class="post-metadata">

**Author:** ![laurent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@laurent](https://www.ruby-forum.com/u/laurent)\
**Post date:** [April 6, 2007, 7:52am UTC](https://www.ruby-forum.com/t/problem-with-loading-acts-as-authenticated-plugin/91068/2 "2007-04-06T07:52:27Z")

</div>

I resolved the problem with the help of some folks on irc.  
In fact, after several reinstallation of the plugin, i should run the  
script :  
./script/generate authenticated user account

It should create a folder /lib into : /vendor/plugins/  
acts\_as\_authenticated, including the authenticated\_system.rb file

But, this folder has been created in the /log folder.  
Moving the lib folder to the plugin root folder did the trick.

Laurent
