Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /Users/angela/.rbenv/versions/1.9.3-p545/bin/ruby -r ./siteconf20170106-59264-robjdg.rb extconf.rb --use-system-libraries checking if the C compiler accepts ... yes checking if the C…
使用下面命令安装报错 gem install pg 错误: [root@AS-test middle_database]# gem install pgBuilding native extensions. This could take a while...ERROR: Error installing pg: ERROR: Failed to build gem native extension. current directory: /usr/local/rvm/gems/rub…
OS X El Capitan 新特性(System Integrity Protection or SIP)中加强了权限,但是可以对这里进行操作 /usr/local/bin 可以尝试使用以下指令进行jekyll的安装(亲测可行,安装完毕后terminal中输入jekyll即可看到是否生效): sudo gem install -n /usr/local/bin/ jekyll 这条指令告诉gem,把jekyll安装到不受SIP保护的文件夹,而不是安装到默认/Library/Ruby/Gems…