ruby on rails 错误!
我是个rails新手,并不知道什么,这是别人的一个程序,我要添加一些功能,可是我根本无法正常运行它.谁能帮我看看,我应该怎么办?[error]D:/Ruby/lib/ru...
我是个rails新手, 并不知道什么, 这是别人的一个程序, 我要添加一些功能, 可是我根本无法正常运行它. 谁能帮我看看, 我应该怎么办?
[error]
D:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependenci
es.rb:105:in `const_missing': uninitialized constant CGI::Session (NameError)
from F:/luopancms/config/environment.rb:56
from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
m_original_require'
from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
quire'
from D:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_suppo
rt/dependencies.rb:156:in `require'
from D:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_suppo
rt/dependencies.rb:521:in `new_constants_in'
from D:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_suppo
rt/dependencies.rb:156:in `require'
from D:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:8
4
from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
m_original_require'
from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
quire'
from script/server:3 展开
[error]
D:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependenci
es.rb:105:in `const_missing': uninitialized constant CGI::Session (NameError)
from F:/luopancms/config/environment.rb:56
from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
m_original_require'
from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
quire'
from D:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_suppo
rt/dependencies.rb:156:in `require'
from D:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_suppo
rt/dependencies.rb:521:in `new_constants_in'
from D:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_suppo
rt/dependencies.rb:156:in `require'
from D:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:8
4
from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
m_original_require'
from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
quire'
from script/server:3 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询