私は、vagrant で lucid32 ボックスを使用して、 unicorn と nginx ( http://railscasts.com/episodes/293-nginx-unicorn ) に関する railscasts チュートリアルに取り組んでいます。私のOSはMountain Lionです。rbenv と ruby 1.9.2p290 を使用しています。Gemfile にユニコーンを追加し、バンドルを実行した後、次を実行します。
bundle exec unicorn -c config/unicorn.rb -D
そして、これは結果です:
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/kgio-2.8.0/lib/kgio.rb:21:in `require': /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/kgio-2.8.0/lib/kgio_ext.so: undefined symbol: rb_prohibit_interrupt - /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/kgio-2.8.0/lib/kgio_ext.so (LoadError)
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/kgio-2.8.0/lib/kgio.rb:21:in `<top (required)>'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/unicorn-4.6.0/lib/unicorn.rb:6:in `require'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/unicorn-4.6.0/lib/unicorn.rb:6:in `<top (required)>'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/unicorn-4.6.0/lib/unicorn/launcher.rb:9:in `require'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/unicorn-4.6.0/lib/unicorn/launcher.rb:9:in `<top (required)>'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/unicorn-4.6.0/bin/unicorn:3:in `require'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/unicorn-4.6.0/bin/unicorn:3:in `<top (required)>'
from /opt/vagrant_ruby/bin/unicorn:19:in `load'
from /opt/vagrant_ruby/bin/unicorn:19:in `<main>'
任意のヒント?