Thin 与 Ramaze 发生严重碰撞
所以,我只是在一个新项目中尝试 Ramaze,我想知道为什么它不能与 Thin 一起工作,但可以与 ramaze 一起启动(我猜是 webrick)。 这是它给我的内容:
/opt/local/lib/ruby1.9/gems/1.9.1/gems/thin-1.2.2/lib/thin/request.rb:50: [BUG] 未知类型 0x22 (给出 0xc )
这是它正在谈论的行:
@parser = Thin::HttpParser.new ,
这并没有太大帮助。
有人有什么想法吗? 谢谢!
编辑:实际上,我记得不久前当我尝试安装最新版本的 MySQL gem 时遇到了这个错误。 我必须重新安装它,确保在“make install”之前执行“make clean”。 然而,thin 是从 gem 安装的,所以我不确定如何在这里做到这一点......
So, I'm just trying out Ramaze for a new project, and I'm wondering why it won't work with Thin, but will with ramaze start (which is webrick I guess). Here's what it gives me:
/opt/local/lib/ruby1.9/gems/1.9.1/gems/thin-1.2.2/lib/thin/request.rb:50: [BUG] unknown type 0x22 (0xc given)
This is the line it's talking about:
@parser = Thin::HttpParser.new
which isn't too helpful.
Does anyone have any ideas? Thanks!
EDIT: Actually, I remember getting this error a while back when I was trying to install the latest version of the MySQL gem. I had to reinstall it being sure to do a "make clean" before "make install". However, thin was installed from a gem, so I'm not sure how I would be able to do that here...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这意味着您的 eventmachine 是使用 Ruby 1.8 编译的,但使用 Ruby 1.9 运行。
你有1.8/1.9的并行安装吗?
It means your eventmachine was compiled with Ruby 1.8 but runs with Ruby 1.9.
Do you have a parallel installation of 1.8/1.9?