帮助杂种不会开始

我决定从Restful身份验证切换到authlogic ..所以我做的是删除每个文件和文件夹,当我下载插件时已经安装..现在,当我尝试“ruby脚本/服务器”我得到

脚本/服务器=>引导Mongrel => Rails 2.3.4应用程序启动http://0.0.0.0:3000 /Users/nachof/Sites/unet/config/initializers/production.rb:5:未定义局部变量或方法config' for main:Object (NameError) from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:145:in load_without_new_constant_marking'中的config' for main:Object (NameError) from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:145:in load' from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in new_constants_in中的load' from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in /activesupport-2.3.4/lib/active_support/dependencies.rb:145:in load' from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in '从/Library/Ruby/Gems/1.8/gems/rails-2.3.4/从/Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:145:in load' 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: each' from /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:621:in load_application_initializers' each' 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/的load_application_initializers中 在process' ... 8 levels... 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'中的process' ... 8 levels... 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 gem_original_require':3 Macintosh:unet nachof $

请帮助


检查environment.rb因为你在我的config.gem行中有一个错字。

链接地址: http://www.djcxy.com/p/38757.html

上一篇: help mongrel wont start

下一篇: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)