断断续续整了一个礼拜,要给跪下了=.=...
项目地址:https://github.com/maccman/holla
本来是打算好好看下 spine 代码,顺便学下 ruby,谁知道部署都弄不好=.=....我 bundle install 的时候,老是去到装 eventmachine 这个 gem 的时候会出现错误,求大虾指点=.=
error msg: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- mkmf (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from extconf.rb:1:in `
Gem files will remain installed in /home//.bundler/tmp/6254/gems/eventmachine-0.12.10 for inspection.
Results logged to /home//.bundler/tmp/6254/gems/eventmachine-0.12.10/ext/gem_make.out
An error occured while installing eventmachine (0.12.10), and Bundler cannot continue.
Make sure that gem install eventmachine -v '0.12.10'
succeeds before bundling.