Error: uninitialized constant Authlogic

Hello,

I'm a Ruby / Rails beginner and tried to use the Authlogic plugin which I have found here: http://www.binarylogic.com/2008/11/3/tutorial-authlogic-basic-setup

However I run into this error:

uninitialized constant Authlogic

Application Trace | Framework Trace | Full Trace

D:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/ dependencies.rb:279:in `load_missing_constant' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/ dependencies.rb:468:in `const_missing' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/ dependencies.rb:480:in `const_missing' app/models/user_session.rb:1 app/controllers/application.rb:12:in `current_user_session' app/controllers/application.rb:17:in `current_user' app/controllers/application.rb:32:in `require_no_user'

Perhaps you can point me somewhere to fix that. As I said, it's all new...

Lucas.

Sounds like you are using the Gem and not the plugin. You might have forgot this:

# config/environment.rb config.gem "authlogic"