Making Bundler 1.0.0.beta.10 install Nokogiri on Leopard with a newish libxml

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:

Fix for MacBook Pro sudden USB and Ethernet port failures

I own a 2.16GHz MacBook Pro, which is a little over 3 years old. Over the last year I’ve had an odd problem with it, which has gotten severe in the last few weeks. The problem was that it would suddenly disable the Ethernet port and the USB ports, disconnecting mounted disks and freezing networked services. The only workaround was to reboot or sleep/wake. I finally found the cause and fixed it last week. My guess is that pretty much all MacBook Pros of similar age and design will develop this problem, so read on if you have a similar issue.
Continue reading “Fix for MacBook Pro sudden USB and Ethernet port failures”