我只是想升级到Unicorn3.0。我更改了Gemfile并进行了包安装。当我重新启动我的独角兽时,我得到了大量的错误,首先是:
Unhandled listen loop exception #<Errno::ENOSYS: Function not implemented - accept>.
/usr/lib/ruby/gems/1.8/gems/unicorn-3.0.0/lib/unicorn/http_server.rb:593:in `kgio_tryaccept'我在Ubuntu 10.04。
还有,有人能向我解释一下为什么我不能使用比最近安装的更老版本的宝石吗?在得到上述错误后,我将Gemfile中Unicorn的版本号更改为1.1.4。但这并没有解决问题,Ruby告诉我
You have already activated unicorn 3.0.0, but your Gemfile requires unicorn 1.1.4. Consider using bundle exec. (Gem::LoadError)我真的必须这么做吗?
伙计们,提前谢谢你的帮助。
发布于 2010-12-16 09:18:47
邦德勒是一个负责加载正确版本的宝石。若要使服务器使用unicorn 1.1.4,请更改Gemfile以指向独角兽的那个版本,请运行bundle install并从服务器卸载unicorn v3 gem。
https://serverfault.com/questions/204961
复制相似问题