我正在尝试下载 Kibana 但一直收到此错误?任何想法..任何帮助将不胜感激!
Kibana-0.2.0$ sudo bundle install
Fetching gem metadata from http://rubygems.org/.........
Fetching gem metadata from http://rubygems.org/..
Resolving dependencies...
Installing rake (10.1.0)
Installing daemons (1.1.9)
Installing diff-lcs (1.1.3)
Installing eventmachine (1.0.0)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
/usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- mkmf (LoadError)
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require'
from extconf.rb:2:in `<main>'
Gem 文件将继续安装在 /usr/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0 中以供检查。结果记录到 /usr/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0/ext/gem_make.out
安装 eventmachine (1.0.0) 时出错,Bundler 无法继续。gem install eventmachine -v '1.0.0'
在捆绑之前确保成功。