I have decided to switch from Restful authentication to authlogic.. so what I did was delete every file and folder that got installed when I downloaded the plugin.. now when I try to "ruby script/server" I get
script/server
=> Booting Mongrel
=> Rails 2.3.4 application starting on http://0.0.0.0:3000
/Users/nachof/Sites/unet/config/initializers/production.rb:5:
undefined local variable or method
config' for main:Object (NameError)
load_without_new_constant_marking'
from
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:145:in
from
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:145:in
load' from
new_constants_in' from
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:145:in
load' from
load_application_initializers' from
/Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:622:in
/Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:621:in
each' from
load_application_initializers' from
/Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:621:in
/Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:176:in
process' ... 8 levels... from
gem_original_require' from
/Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:84
from
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require' from script/server:3
Macintosh:unet nachof$
Help please
Best Answer
Check
environment.rb
as you have a typo in yourconfig.gem
lines I believe.