Install ruby-validate-url by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-validate-url
Description:
Library for validating urls in Rails
ruby-validate-url gem adds the capability of validating URLs to ActiveRecord(a framework to work with databases on Rails) and ActiveModel(a toolkit for building modeling frameworks) (Rails 3).
Homepage: http://github.com/perfectline/validates_url/tree/master
Version: 1.0.2-2
Section: universe/ruby