How to Install ruby-nokogiri in Ubuntu 18.04



Install ruby-nokogiri by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-nokogiri

Description:

HTML, XML, SAX, and Reader parser for Ruby

Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. It is able to search documents via XPath or CSS3 selectors, and is a drop-in replacement for Hpricot (though not bug for bug).

Homepage: http://nokogiri.org

Version: 1.8.2-1build1

Section: universe/ruby