Bug correction: Corrected core dumps due to Ruby 1.9 API change