I updated to the developer release of Lion and noticed I couldn\'t start rails apps anymore. Whenever I try to sudo bundle install
, I get the following error:>
I found this worked via https://github.com/sparklemotion/nokogiri/issues/1166#issuecomment-56545974.
$ brew install libxml2
$ gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib/
Here's a more detailed approach if even this doesn't work. http://www.bullrico.com/2012/07/12/installing-nokogiri-after-updating-homebrew