我决定从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” 从 /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' /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
load_application_initializers' /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:621:in 来自each' from /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:621:in
load_application_initializers' /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:176:in 来自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' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in 来自脚本/服务器的`require':3 Macintosh:unet nachof $
请帮助
答案 0 :(得分:0)
检查environment.rb
因为您认为config.gem
行中有拼写错误。