Install Nokogiri on Yosemite 10.10.3
问题 I have: Mac OS X Yosemite 10.10.3 MacPorts (not Brew) Ruby 2 in system (not RVM) I want to install Nokogiri and tried: port install nokogiri and got: Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -r ./siteconf20150323-30174-1mqhl4i.rb extconf.rb checking if the C compiler accepts ... yes checking if the C compiler accepts -Wno-error=unused