Changed depending on Nokogiri < 1.6.0 to ~> 1.6.0