无法构建gem原生扩展(em-irc)

时间:2013-02-16 18:08:55

标签: ruby gem require mkmf

尝试安装em-irc,得到了:

/usr/bin/ruby1.9.1 extconf.rb
/usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:2:in `<main>'

1 个答案:

答案 0 :(得分:0)

尝试以root身份运行:sudo gem install em-irc