Can't install thrift gem on OS X El Capitan
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Trying to install thift gem after OSX El Capitan upgrade: $ gem install thrift Building native extensions . This could take a while ... ERROR : Error installing thrift : ERROR : Failed to build gem native extension . / Users / foo /. rvm / rubies / ruby - 2.1 . 4 / bin / ruby - r ./ siteconf20160402 - 32256 - 7dzqel . rb extconf . rb checking for strlcpy () in string . h ... yes creating Makefile make "DESTDIR=" clean make "DESTDIR=" compiling binary_protocol_accelerated . c compiling bytes . c compiling compact_protocol . c