Removing nokogiri dependency