尝试在 OS X El Capitan 上安装 cf-uaac gem。
$ gem install cf-uaac
结果:
Fetching: cf-uaa-lib-3.2.5.gem (100%)
Successfully installed cf-uaa-lib-3.2.5
Fetching: highline-1.6.21.gem (100%)
Successfully installed highline-1.6.21
ERROR: Error installing cf-uaac:
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
extconf failed, exit code 1
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/extensions/universal-darwin-15/2.0.0/eventmachine-1.0.3/gem_make.out