<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nokogiri on Evan Hoffman</title><link>https://evan.wtf/tags/nokogiri/</link><description>Recent content in Nokogiri on Evan Hoffman</description><generator>Hugo</generator><language>en-US</language><copyright>Evan Hoffman</copyright><lastBuildDate>Tue, 29 Jul 2014 16:57:06 +0000</lastBuildDate><atom:link href="https://evan.wtf/tags/nokogiri/index.xml" rel="self" type="application/rss+xml"/><item><title>"You have to install development tools first." - OSX Mavericks, ruby, chef, and nokogiri</title><link>https://evan.wtf/2014/07/29/you-have-to-install-development-tools-first-osx-mavericks-ruby-chef-and-nokogiri/</link><pubDate>Tue, 29 Jul 2014 16:57:06 +0000</pubDate><guid>https://evan.wtf/2014/07/29/you-have-to-install-development-tools-first-osx-mavericks-ruby-chef-and-nokogiri/</guid><description>&lt;p&gt;I was trying to get knife ec2 working on my Mac, but even though my system Ruby was at 2.0.0, the embedded Ruby that chef/knife use (in /opt/chef/embedded/bin) was 1.9.1. Installing knife-ec2 should just be a matter of typing &amp;ldquo;gem install knife-ec2&amp;rdquo; but due to some weird issues with nokogiri, I burned about 4 hours trying to make it work. I tried everything I could find - installing iconv, libxml2, and libxslt via brew and telling &amp;ldquo;gem install&amp;rdquo; to use the custom libs in /usr/local/Cellar was the most common suggestion on StackOverflow - but nothing worked. What ended up fixing it for me was reinstalling chef. :|&lt;/p&gt;</description></item></channel></rss>