2
這是自從我將Thin從1.2.7版更新到1.2.8版後所發生的錯誤。當我卸載較新的版本並告訴我的包再次使用1.2.7時,一切都很好。未初始化的常量Thin :: HttpParser(NameError)
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/request.rb:52:in `initialize': uninitialized constant Thin::HttpParser (NameError)
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/connection.rb:35:in `new'
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/connection.rb:35:in `post_init'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1430:in `event_callback'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/backends/base.rb:61:in `start'
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/server.rb:159:in `start'
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/controllers/controller.rb:86:in `start'
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/runner.rb:185:in `send'
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/runner.rb:185:in `run_command'
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/runner.rb:151:in `run!'
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.8/bin/thin:6
from /usr/bin/thin:19:in `load'
from /usr/bin/thin:19