How to Install ruby-validates-hostname in Ubuntu 18.04



Install ruby-validates-hostname by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-validates-hostname

Description:

checks for valid hostnames

This package provides the gem validates_hostname. This gem is basically an extension to ActiveRecord::Base for validating hostnames. The gem can be used with ActiveRecord objects to check whether a provided hostname is valid or not.

Homepage: https://github.com/KimNorgaard/validates_hostname

Version: 1.0.7-1

Section: universe/ruby