Okay, now that Bundler 1.0.0.beta.10 is out, you can once again pass build-time options to gems with native extensions, such as Nokogiri. So this supercedes my older instructions for making Bundler 0.8.5 install Nokogiri on Leopard.
So now instead of making a YAML file and referring to it, pass the options like this:
1 2 3 |
bundle config build.nokogiri \ --with-xml2-include=/usr/local/include/libxml2 \ --with-xml2-lib=/usr/local/lib |