Making Bundler 0.8.5 install Nokogiri on Leopard with a newish libxml

Nokogiri on a standard installation of Leopard is complain-y about a couple of old libraries:

“HI. You’re using libxml2 version 2.6.16 which is over 4 years old and has plenty of bugs. We suggest that for maximum HTML/XML parsing pleasure, you upgrade your version of libxml2 and re-install nokogiri. If you like using libxml2 version 2.6.16, but don’t like this warning, please define the constant I_KNOW_I_AM_USING_AN_OLD_AND_BUGGY_VERSION_OF_LIBXML2 before requring nokogiri.”

Aaron Kalin figured out how to fix this if you’re installing nokogiri as a system gem, but I want to use Bundler and keep my system gems down to the bare minimum. I figured out how to do this under Bundler 0.8.5.
Continue reading “Making Bundler 0.8.5 install Nokogiri on Leopard with a newish libxml”

Hiding a CLI-only user account in Mac OS X 10.5 Leopard

A year and a half ago I installed the excellent PostgreSQL via MacPorts, and had to create a user account manually. Annoyingly, this postgres user shows up in the GUI login screen and Fast User Switching menu under Leopard. I found a fix today.
Continue reading “Hiding a CLI-only user account in Mac OS X 10.5 Leopard”

MacBook Pro crashes part 3 – apparently a hardware issue

In frustration I made a backup of my laptop hard disk, and did an erase-and-install with Tiger from the install DVDs that came with the laptop. Mind you, the Apple Hardware diagnostic gives this machine a clean bill of health. With the original 512MB DIMM, with nothing plugged in but the power cord, and with a fresh Tiger install, even following an SMC reset, I can crash it. So, this is apparently not Leopard’s fault.
Continue reading “MacBook Pro crashes part 3 – apparently a hardware issue”

Leopard GUI Crashes – Not Parallels but Canon?

I had some serious Leopard stability problems recently. I thought I had found the problem but I was wrong then.

This time I’m pretty sure I’ve gotten rid of all the badness. I’ve had almost 2 days of continuous uptime, which may not sound like something to get excited about, but it sure beats the 4-6 hour average uptime I’ve had for the past few weeks.

I’ve spent so much time on this that I’m not willing to put in the extra 4-8 hours it would take to really truly isolate this issue. But my best guess is that it was the Canon drivers for my recently purchased Canon PIXMA MX310 multifunction printer. Specifically I think it’s the scanner driver, but I’m not certain. If so, that would mean that the culprits were BJUSBLoad.kext and BJUSBMP.kext in /System/Library/Extensions.
Continue reading “Leopard GUI Crashes – Not Parallels but Canon?”