Ruby 1.9.3 and Mac OS X fixes