我正在尝试在运行 Ruby 2.0.0 的 Macbook Air Os X Mavericks 上安装 Dashing Framework。
当我运行时,sudo gem install dashing
我收到以下错误:
ERROR: Error installing dashing:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/eventmachine-1.0.3 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/eventmachine-1.0.3/ext/gem_make.out
对此有什么想法吗?我不知道如何让它正确安装..