“You have to install development tools first.” – OSX Mavericks, ruby, chef, and nokogiri

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 “gem install knife-ec2” 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 “gem install” 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. 😐

[evan@Evan ~] $ sudo /opt/chef/embedded/bin/gem install nokogiri
Building native extensions.  This could take a while...
Building nokogiri using packaged libraries.
ERROR:  Error installing nokogiri:
	ERROR: Failed to build gem native extension.

        /opt/chef/embedded/bin/ruby extconf.rb
Building nokogiri using packaged libraries.
checking for iconv.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
	--with-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/opt/chef/embedded/bin/ruby
	--help
	--clean
	--use-system-libraries
	--enable-static
	--disable-static
	--with-zlib-dir
	--without-zlib-dir
	--with-zlib-include
	--without-zlib-include=${zlib-dir}/include
	--with-zlib-lib
	--without-zlib-lib=${zlib-dir}/lib
	--enable-cross-build
	--disable-cross-build
/opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:506:in `try_cpp'
	from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:931:in `block in have_header'
	from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
	from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
	from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
	from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
	from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
	from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
	from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
	from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:930:in `have_header'
	from extconf.rb:103:in `have_iconv?'
	from extconf.rb:148:in `block (2 levels) in iconv_prefix'
	from extconf.rb:90:in `preserving_globals'
	from extconf.rb:143:in `block in iconv_prefix'
	from extconf.rb:116:in `block in each_iconv_idir'
	from extconf.rb:113:in `each'
	from extconf.rb:113:in `each_iconv_idir'
	from extconf.rb:137:in `iconv_prefix'
	from extconf.rb:428:in `block in '
	from extconf.rb:161:in `block in process_recipe'
	from extconf.rb:154:in `tap'
	from extconf.rb:154:in `process_recipe'
	from extconf.rb:423:in `'


Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1 for inspection.
Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/gem_make.out
[evan@Evan ~] $

Well, this is apparently an indication that you don’t have the command-line dev tools installed on your computer. However, in Mavericks, according to Apple:

If Xcode is installed on your machine, then there is no need to install them. Xcode comes bundled with all your command-line tools. OS X 10.9 includes shims or wrapper executables. These shims, installed in /usr/bin, can map any tool included in /usr/bin to the corresponding one inside Xcode. xcrun is one of such shims, which allows you to find or run any tool inside Xcode from the command line. Use it to invoke any tool within Xcode from the command line.

wat?

I spent several hours trawling through StackExchange, Googling for every combination of nokogiri, mavericks, chef, xcode. Here are some of my searches from today:

How did I end up fixing it? Two things:

  1. In ~/.bashrc, add export PATH=/opt/chef/embedded/bin:$PATH
  2. Reinstall chef: curl -L https://www.getchef.com/chef/install.sh | sudo bash

After reinstalling chef (which installed an embedded Ruby 1.9.3 – my old version was 1.9.1), this command ran successfully:

$ sudo gem install -V --no-rdoc --no-ri nokogiri

Full output below:

[evan@Evan ~] $ sudo gem install -V --no-rdoc --no-ri nokogiri -- --with-iconv-dir=/usr/local/Cellar/libiconv/1.14 --with-xml2-dir=/usr/local/Cellar/libxml2/2.9.1 --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 --with-xml2-include=/usr/local/Cellar/libxml2/2.9.1/include --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.1/lib
[evan@Evan ~] $ sudo gem install -V --no-rdoc --no-ri nokogiri
GET http://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
GET http://rubygems.org/specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/specs.4.8.gz
200 OK
Installing gem nokogiri-1.6.3.1
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/.autotest
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/.editorconfig
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/.gemtest
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/.travis.yml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/CHANGELOG.ja.rdoc
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/CHANGELOG.rdoc
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/C_CODING_STYLE.rdoc
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/Gemfile
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/Manifest.txt
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/README.ja.rdoc
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/README.rdoc
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ROADMAP.md
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/Rakefile
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/STANDARD_RESPONSES.md
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/Y_U_NO_GEMSPEC.md
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/bin/nokogiri
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/build_all
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/dependencies.yml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/depend
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/extconf.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/html_document.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/html_document.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/html_element_description.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/html_element_description.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/html_entity_lookup.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/html_entity_lookup.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/html_sax_parser_context.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/html_sax_parser_context.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/html_sax_push_parser.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/html_sax_push_parser.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/nokogiri.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/nokogiri.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_attr.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_attr.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_attribute_decl.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_attribute_decl.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_cdata.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_cdata.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_comment.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_comment.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_document.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_document.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_document_fragment.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_document_fragment.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_dtd.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_dtd.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_element_content.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_element_content.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_element_decl.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_element_decl.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_encoding_handler.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_encoding_handler.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_entity_decl.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_entity_decl.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_entity_reference.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_entity_reference.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_io.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_io.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_libxml2_hacks.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_libxml2_hacks.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_namespace.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_namespace.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_node.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_node.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_node_set.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_node_set.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_processing_instruction.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_processing_instruction.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_reader.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_reader.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_relax_ng.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_relax_ng.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_sax_parser.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_sax_parser.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_sax_parser_context.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_sax_parser_context.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_sax_push_parser.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_sax_push_parser.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_schema.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_schema.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_syntax_error.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_syntax_error.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_text.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_text.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_xpath_context.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xml_xpath_context.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xslt_stylesheet.c
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/xslt_stylesheet.h
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/css.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/css/node.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/css/parser.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/css/parser.y
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/css/parser_extras.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/css/syntax_error.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/css/tokenizer.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/css/tokenizer.rex
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/css/xpath_visitor.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/decorators/slop.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/html.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/html/builder.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/html/document.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/html/document_fragment.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/html/element_description.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/html/element_description_defaults.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/html/entity_lookup.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/html/sax/parser.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/html/sax/parser_context.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/html/sax/push_parser.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/syntax_error.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/version.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/attr.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/attribute_decl.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/builder.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/cdata.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/character_data.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/document.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/document_fragment.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/dtd.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/element_content.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/element_decl.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/entity_decl.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/namespace.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/node.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/node/save_options.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/node_set.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/notation.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/parse_options.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/pp.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/pp/character_data.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/pp/node.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/processing_instruction.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/reader.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/relax_ng.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/sax.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/sax/document.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/sax/parser.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/sax/parser_context.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/sax/push_parser.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/schema.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/syntax_error.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/text.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/xpath.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/xpath/syntax_error.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/xpath_context.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xslt.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri/xslt/stylesheet.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/xsd/xmlparser/nokogiri.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/archives/libxml2-2.8.0.tar.gz
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/archives/libxslt-1.1.28.tar.gz
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0001-Fix-parser-local-buffers-size-problems.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0002-Fix-entities-local-buffers-size-problems.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0003-Fix-an-error-in-previous-commit.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0004-Fix-potential-out-of-bound-access.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0005-Detect-excessive-entities-expansion-upon-replacement.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0006-Do-not-fetch-external-parsed-entities.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0007-Enforce-XML_PARSER_EOF-state-handling-through-the-pa.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0008-Improve-handling-of-xmlStopParser.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0009-Fix-a-couple-of-return-without-value.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0010-Keep-non-significant-blanks-node-in-HTML-parser.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0011-Do-not-fetch-external-parameter-entities.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0001-Adding-doc-update-related-to-1.1.28.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0003-Initialize-pseudo-random-number-generator-with-curre.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0004-EXSLT-function-str-replace-is-broken-as-is.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0006-Fix-str-padding-to-work-with-UTF-8-strings.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0007-Separate-function-for-predicate-matching-in-patterns.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0008-Fix-direct-pattern-matching.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0009-Fix-certain-patterns-with-predicates.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0014-Fix-for-bug-436589.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0015-Fix-mkdir-for-mingw.patch
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/suppressions/README.txt
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/suppressions/nokogiri_ree-1.8.7.358.supp
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/suppressions/nokogiri_ruby-1.8.7.370.supp
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/suppressions/nokogiri_ruby-1.9.2.320.supp
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/suppressions/nokogiri_ruby-1.9.3.327.supp
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/tasks/nokogiri.org.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/tasks/test.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/css/test_nthiness.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/css/test_parser.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/css/test_tokenizer.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/css/test_xpath_visitor.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/decorators/test_slop.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/2ch.html
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/address_book.rlx
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/address_book.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/atom.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/bar/bar.xsd
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/bogus.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/dont_hurt_em_why.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/encoding.html
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/encoding.xhtml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/exslt.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/exslt.xslt
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/foo/foo.xsd
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/metacharset.html
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/noencoding.html
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/po.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/po.xsd
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/saml/saml20assertion_schema.xsd
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/saml/saml20protocol_schema.xsd
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/saml/xenc_schema.xsd
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/saml/xmldsig_schema.xsd
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/shift_jis.html
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/shift_jis.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/shift_jis_no_charset.html
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/slow-xpath.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/snuggles.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/staff.dtd
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/staff.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/staff.xslt
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/test_document_url/bar.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/test_document_url/document.dtd
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/test_document_url/document.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/tlm.html
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/to_be_xincluded.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/valid_bar.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/files/xinclude.xml
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/helper.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/html/sax/test_parser.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/html/sax/test_parser_context.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/html/test_builder.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/html/test_document.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/html/test_document_encoding.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/html/test_document_fragment.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/html/test_element_description.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/html/test_named_characters.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/html/test_node.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/html/test_node_encoding.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/namespaces/test_additional_namespaces_in_builder_doc.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/namespaces/test_namespaces_aliased_default.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/namespaces/test_namespaces_in_builder_doc.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/namespaces/test_namespaces_in_cloned_doc.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/namespaces/test_namespaces_in_created_doc.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/namespaces/test_namespaces_in_parsed_doc.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/namespaces/test_namespaces_preservation.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/test_convert_xpath.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/test_css_cache.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/test_encoding_handler.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/test_memory_leak.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/test_nokogiri.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/test_reader.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/test_soap4r_sax.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/test_xslt_transforms.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/node/test_save_options.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/node/test_subclass.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/sax/test_parser.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/sax/test_parser_context.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/sax/test_push_parser.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_attr.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_attribute_decl.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_builder.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_c14n.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_cdata.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_comment.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_document.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_document_encoding.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_document_fragment.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_dtd.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_dtd_encoding.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_element_content.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_element_decl.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_entity_decl.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_entity_reference.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_namespace.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_node.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_node_attributes.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_node_encoding.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_node_inheritance.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_node_reparenting.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_node_set.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_parse_options.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_processing_instruction.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_reader_encoding.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_relax_ng.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_schema.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_syntax_error.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_text.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_unparented_node.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_xinclude.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xml/test_xpath.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xslt/test_custom_functions.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test/xslt/test_exception_handling.rb
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/test_all
Building native extensions.  This could take a while...
Building nokogiri using packaged libraries.
Building libxml2-2.8.0 for nokogiri with the following patches applied:
	- 0001-Fix-parser-local-buffers-size-problems.patch
	- 0002-Fix-entities-local-buffers-size-problems.patch
	- 0003-Fix-an-error-in-previous-commit.patch
	- 0004-Fix-potential-out-of-bound-access.patch
	- 0005-Detect-excessive-entities-expansion-upon-replacement.patch
	- 0006-Do-not-fetch-external-parsed-entities.patch
	- 0007-Enforce-XML_PARSER_EOF-state-handling-through-the-pa.patch
	- 0008-Improve-handling-of-xmlStopParser.patch
	- 0009-Fix-a-couple-of-return-without-value.patch
	- 0010-Keep-non-significant-blanks-node-in-HTML-parser.patch
	- 0011-Do-not-fetch-external-parameter-entities.patch
************************************************************************
IMPORTANT!  Nokogiri builds and uses a packaged version of libxml2.

If this is a concern for you and you want to use the system library
instead, abort this installation process and reinstall nokogiri as
follows:

    gem install nokogiri -- --use-system-libraries

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries
    bundle install

However, note that nokogiri does not necessarily support all versions
of libxml2.

For example, libxml2-2.9.0 and higher are currently known to be broken
and thus unsupported by nokogiri, due to compatibility problems and
XPath optimization bugs.
************************************************************************
Building libxslt-1.1.28 for nokogiri with the following patches applied:
	- 0001-Adding-doc-update-related-to-1.1.28.patch
	- 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch
	- 0003-Initialize-pseudo-random-number-generator-with-curre.patch
	- 0004-EXSLT-function-str-replace-is-broken-as-is.patch
	- 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch
	- 0007-Separate-function-for-predicate-matching-in-patterns.patch
	- 0008-Fix-direct-pattern-matching.patch
	- 0009-Fix-certain-patterns-with-predicates.patch
	- 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch
	- 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
	- 0014-Fix-for-bug-436589.patch
	- 0015-Fix-mkdir-for-mingw.patch
************************************************************************
IMPORTANT!  Nokogiri builds and uses a packaged version of libxslt.

If this is a concern for you and you want to use the system library
instead, abort this installation process and reinstall nokogiri as
follows:

    gem install nokogiri -- --use-system-libraries

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries
    bundle install
************************************************************************
/opt/chef/embedded/bin/ruby extconf.rb
Building nokogiri using packaged libraries.
checking for iconv.h... yes
checking for iconv_open() in iconv.h... no
checking for iconv_open() in -liconv... yes
Building libxml2-2.8.0 for nokogiri with the following patches applied:
	- 0001-Fix-parser-local-buffers-size-problems.patch
	- 0002-Fix-entities-local-buffers-size-problems.patch
	- 0003-Fix-an-error-in-previous-commit.patch
	- 0004-Fix-potential-out-of-bound-access.patch
	- 0005-Detect-excessive-entities-expansion-upon-replacement.patch
	- 0006-Do-not-fetch-external-parsed-entities.patch
	- 0007-Enforce-XML_PARSER_EOF-state-handling-through-the-pa.patch
	- 0008-Improve-handling-of-xmlStopParser.patch
	- 0009-Fix-a-couple-of-return-without-value.patch
	- 0010-Keep-non-significant-blanks-node-in-HTML-parser.patch
	- 0011-Do-not-fetch-external-parameter-entities.patch
************************************************************************
IMPORTANT!  Nokogiri builds and uses a packaged version of libxml2.

If this is a concern for you and you want to use the system library
instead, abort this installation process and reinstall nokogiri as
follows:

    gem install nokogiri -- --use-system-libraries

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries
    bundle install

However, note that nokogiri does not necessarily support all versions
of libxml2.

For example, libxml2-2.9.0 and higher are currently known to be broken
and thus unsupported by nokogiri, due to compatibility problems and
XPath optimization bugs.
************************************************************************
Extracting libxml2-2.8.0.tar.gz into tmp/x86_64-apple-darwin11.2.0/ports/libxml2/2.8.0... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0001-Fix-parser-local-buffers-size-problems.patch...
Running 'patch' for libxml2 2.8.0... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0002-Fix-entities-local-buffers-size-problems.patch...
Running 'patch' for libxml2 2.8.0... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0003-Fix-an-error-in-previous-commit.patch...
Running 'patch' for libxml2 2.8.0... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0004-Fix-potential-out-of-bound-access.patch...
Running 'patch' for libxml2 2.8.0... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0005-Detect-excessive-entities-expansion-upon-replacement.patch...
Running 'patch' for libxml2 2.8.0... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0006-Do-not-fetch-external-parsed-entities.patch...
Running 'patch' for libxml2 2.8.0... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0007-Enforce-XML_PARSER_EOF-state-handling-through-the-pa.patch...
Running 'patch' for libxml2 2.8.0... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0008-Improve-handling-of-xmlStopParser.patch...
Running 'patch' for libxml2 2.8.0... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0009-Fix-a-couple-of-return-without-value.patch...
Running 'patch' for libxml2 2.8.0... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0010-Keep-non-significant-blanks-node-in-HTML-parser.patch...
Running 'patch' for libxml2 2.8.0... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxml2/0011-Do-not-fetch-external-parameter-entities.patch...
Running 'patch' for libxml2 2.8.0... OK
Running 'configure' for libxml2 2.8.0... OK
Running 'compile' for libxml2 2.8.0... OK
Running 'install' for libxml2 2.8.0... OK
Activating libxml2 2.8.0 (from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/x86_64-apple-darwin11.2.0/libxml2/2.8.0)...
Building libxslt-1.1.28 for nokogiri with the following patches applied:
	- 0001-Adding-doc-update-related-to-1.1.28.patch
	- 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch
	- 0003-Initialize-pseudo-random-number-generator-with-curre.patch
	- 0004-EXSLT-function-str-replace-is-broken-as-is.patch
	- 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch
	- 0007-Separate-function-for-predicate-matching-in-patterns.patch
	- 0008-Fix-direct-pattern-matching.patch
	- 0009-Fix-certain-patterns-with-predicates.patch
	- 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch
	- 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
	- 0014-Fix-for-bug-436589.patch
	- 0015-Fix-mkdir-for-mingw.patch
************************************************************************
IMPORTANT!  Nokogiri builds and uses a packaged version of libxslt.

If this is a concern for you and you want to use the system library
instead, abort this installation process and reinstall nokogiri as
follows:

    gem install nokogiri -- --use-system-libraries

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries
    bundle install
************************************************************************
Extracting libxslt-1.1.28.tar.gz into tmp/x86_64-apple-darwin11.2.0/ports/libxslt/1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0001-Adding-doc-update-related-to-1.1.28.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0003-Initialize-pseudo-random-number-generator-with-curre.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0004-EXSLT-function-str-replace-is-broken-as-is.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0006-Fix-str-padding-to-work-with-UTF-8-strings.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0007-Separate-function-for-predicate-matching-in-patterns.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0008-Fix-direct-pattern-matching.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0009-Fix-certain-patterns-with-predicates.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0014-Fix-for-bug-436589.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/patches/libxslt/0015-Fix-mkdir-for-mingw.patch...
Running 'patch' for libxslt 1.1.28... OK
Running 'configure' for libxslt 1.1.28... OK
Running 'compile' for libxslt 1.1.28... OK
Running 'install' for libxslt 1.1.28... OK
Activating libxslt 1.1.28 (from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports/x86_64-apple-darwin11.2.0/libxslt/1.1.28)...
checking for main() in -llzma... yes
checking for xmlParseDoc() in libxml/parser.h... yes
checking for xsltParseStylesheetDoc() in libxslt/xslt.h... yes
checking for exsltFuncRegister() in libexslt/exslt.h... yes
checking for xmlHasFeature()... yes
checking for xmlFirstElementChild()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetValidStructuredErrors()... yes
checking for xmlSchemaSetValidStructuredErrors()... yes
checking for xmlSchemaSetParserStructuredErrors()... yes
creating Makefile

make
compiling html_document.c
compiling html_element_description.c
compiling html_entity_lookup.c
compiling html_sax_parser_context.c
compiling html_sax_push_parser.c
compiling nokogiri.c
compiling xml_attr.c
compiling xml_attribute_decl.c
compiling xml_cdata.c
compiling xml_comment.c
compiling xml_document.c
compiling xml_document_fragment.c
compiling xml_dtd.c
compiling xml_element_content.c
compiling xml_element_decl.c
compiling xml_encoding_handler.c
compiling xml_entity_decl.c
compiling xml_entity_reference.c
compiling xml_io.c
compiling xml_libxml2_hacks.c
compiling xml_namespace.c
compiling xml_node.c
xml_node.c:17:14: warning: incompatible pointer types initializing 'xmlNodePtr' (aka 'struct _xmlNode *') with an expression of type 'struct _xmlDoc *' [-Wincompatible-pointer-types]
  xmlNodePtr doc = node->doc;
             ^     ~~~~~~~~~
xml_node.c:168:15: warning: 14 enumeration values not handled in switch: 'XML_ATTRIBUTE_NODE', 'XML_ENTITY_NODE', 'XML_DOCUMENT_NODE'... [-Wswitch]
      switch (reparentee->type) {
              ^
xml_node.c:186:15: warning: 15 enumeration values not handled in switch: 'XML_ATTRIBUTE_NODE', 'XML_ENTITY_NODE', 'XML_DOCUMENT_NODE'... [-Wswitch]
      switch (reparentee->type) {
              ^
xml_node.c:197:15: warning: 19 enumeration values not handled in switch: 'XML_ELEMENT_NODE', 'XML_ATTRIBUTE_NODE', 'XML_CDATA_SECTION_NODE'... [-Wswitch]
      switch (reparentee->type) {
              ^
xml_node.c:165:13: warning: 14 enumeration values not handled in switch: 'XML_CDATA_SECTION_NODE', 'XML_ENTITY_NODE', 'XML_PI_NODE'... [-Wswitch]
    switch (parent->type) {
            ^
5 warnings generated.
compiling xml_node_set.c
compiling xml_processing_instruction.c
compiling xml_reader.c
compiling xml_relax_ng.c
compiling xml_sax_parser.c
compiling xml_sax_parser_context.c
compiling xml_sax_push_parser.c
compiling xml_schema.c
compiling xml_syntax_error.c
compiling xml_text.c
compiling xml_xpath_context.c
compiling xslt_stylesheet.c
linking shared-object nokogiri/nokogiri.bundle
Cleaning files only used during build.
rm -rf /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/tmp/x86_64-apple-darwin11.2.0/ports
rmdir -p /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ext/nokogiri/tmp/x86_64-apple-darwin11.2.0
rm -rf /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/ports

make install
/usr/bin/install -c -m 0755 nokogiri.bundle /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.3.1/lib/nokogiri
installing default nokogiri libraries
/opt/chef/embedded/bin/nokogiri
Successfully installed nokogiri-1.6.3.1
1 gem installed

2 responses to ““You have to install development tools first.” – OSX Mavericks, ruby, chef, and nokogiri”

  1. […] macOS Catalina; After running $ brew install coreutils (credit) –– I followed an older article by Evan Hoffman, installing chef ( which embeds latest stable release of Ruby […]

  2. […] macOS Catalina; After running $ brew install coreutils (credit) –– I followed an older article by Evan Hoffman, installing chef ( which embeds latest stable release of Ruby […]

Leave a comment