gpt4 book ai didi

ruby-on-rails-3 - 未初始化的常量 Thin::HttpParser (NameError)

转载 作者:行者123 更新时间:2023-12-04 06:32:33 27 4
gpt4 key购买 nike

这是我将 Thin 从 1.2.7 版更新到 1.2.8 版后遇到的错误。当我卸载较新版本并告诉我的包再次使用 1.2.7 时,一切都很好。

/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

最佳答案

获取 1.2.10

我在 1.2.9 中遇到了同样的问题。发布被打破了。 1.2.10 已于今天下午修复,效果非常好(开发人员在几分钟内修复了!)。

关于ruby-on-rails-3 - 未初始化的常量 Thin::HttpParser (NameError),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5226898/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com