Unicorn 3 throwing tons of errors (Rails 3.0.3, Unicorn 3.0)

Posted by ulf on Server Fault See other posts from Server Fault or by ulf
Published on 2010-11-23T01:18:38Z Indexed on 2012/09/18 21:41 UTC
Read the original article Hit count: 297

Filed under:
|

I just tried to upgrade to Unicorn 3.0. I changed my Gemfile and did a bundle install. When restarting my Unicorn I got tons of errors beginning with:

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'

I’m on Ubuntu 10.04.

And, can anyone explain to me why the heck I can’t use an older version of a Gem than the most recent installed? After getting the errors above I just changed the version number of Unicorn in my Gemfile to 1.1.4. But this didn’t solve the problem, Ruby told me that

You have already activated unicorn 3.0.0, but your Gemfile requires unicorn 1.1.4. Consider using bundle exec. (Gem::LoadError)

Do I really have to?

Thanks in advance for your help, guys.

© Server Fault or respective owner

Related posts about ruby-on-rails

Related posts about unicorn