nokogiri >= 1.6 doesn't work with ruby 1.8