gem install nokogiri
fails with libxml2 is missing
.
Details of the message show:
checking for xmlParseDoc() in libxml/parser.h... no
checking for xmlParseDoc() in -lxml2... no
checking for xmlParseDoc() in -llibxml2... no
This is in spite of the fact that I've confirmed the installation of libxml2.
All efforts at passing the library's location using the command line flag have failed.
I'm running:
- Ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
- Mac Yosemite
- Installed with homebrew