Install ruby-libxml by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-libxml
Description:
Ruby Bindings for LibXML2
The Libxml-Ruby project provides Ruby language bindings for the GNOME Libxml2 XML toolkit. It is free software, released under the MIT License. Libxml-ruby's primary advantage over REXML is performance - if speed is your need, these are good libraries to consider, as demonstrated by the informal benchmark below.
Homepage: http://xml4r.github.com/libxml-ruby
Version: 2.9.0-2build2
Section: universe/ruby