Alex Rivera | Logout

Can't launch rails app via unicorn due to kgio_ext (LoadError)

Asked 2012-09-20T10:09:36.987
8

I am trying to run a rails app via

unicorn -c config/environments/<env>/unicorn.rb -e <env>

but I keep getting this error.

<app_root>/vendor/bundle/ruby/1.9.1/gems/kgio-2.7.4/lib/kgio.rb:21:in `require': cannot load such file -- kgio_ext (LoadError)

Any ideas?

I am running unicorn (4.3.1) with kgio (2.7.4) in a rails (3.2.3) app.

Edit
Report

1 Answer

0

I had the same issue and it seems that Bundler with RVM is not integrating well with gems that use native extensions. I've changed to Thin and hit a similar issue with eventmachine. My question for unicorn here and Thin here

I've worked around the problem with the solution in my Thin question.

Regards, Nuno Valente.

answered 2013-01-31T10:37:21.613

Your Answer