-1

尝试安装 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>'
4

1 回答 1

0

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

于 2013-02-16T22:04:34.180 回答