2011-03-08 85 views
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 

回答

3

獲取1.2.10

我有同樣的問題1.2.9。發佈被打破。 1.2.10今天下午固定下來,像一個魅力(開發商在幾分鐘內修好!)。

相關問題