Libxml2 missing mac os x 10.10
i fiddled around with this for quite a while and the following worked for me.. 1) install libxml2 with homebrew brew install libxml2 2) install the gem via sudo env ARCHFLAGS=”-arch x86_64″ gem install nokogiri:1.6.4.1 — –use-system-libraries –with-xml=/usr/local/Cellar/libxml2/