Upgrade Nokogiri to 1.8.1.
https://github.com/sparklemotion/nokogiri/issues/1673
This will create a new commit in order to revert the existing changes.