阅读更多
根据说明
引用:
http://wiki.rubyonrails.org/rails/pages/SaltedLoginGeneratorQuickstart
装了salted login generator,但无法启动WEBrick
引用:
=> Booting WEBrick...
d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependenci
es.rb:263:in `load_missing_constant': uninitialized constant ActiveSupport::Depr
ecation::RAILS_DEFAULT_LOGGER (NameError)
from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_suppo
rt/dependencies.rb:452:in `const_missing'
from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_suppo
rt/deprecation.rb:16
from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_suppo
rt/deprecation.rb:23:in `call'
from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_suppo
rt/deprecation.rb:23:in `warn'
from d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.3.2/lib/action_mailer
/base.rb:374:in `server_settings='
from ./script/../config/../config/environments/development.rb:23:in `loa
d_environment'
from d:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:204:i
n `load_environment'
from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_suppo
rt/core_ext/kernel/reporting.rb:11:in `silence_warnings'
... 16 levels...
from d:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/commands/server.rb:3
9
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge
m_original_require'
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
quire'
from script/server:3
引用:
环境配置:ruby:1.8.5 rails:1.2.2 gem:salted login generator 1.1.1
不知什么地方出了问题,大家帮看一下