How to Install ruby-rainbow in Ubuntu 18.04



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

sudo apt update
sudo apt install ruby-rainbow

Description:

extension of Ruby String class enabling colored text on ANSI terminals

Rainbow extends the ruby string class to enable coloring text on ANSI terminals. It adds methods to the String class and allowing the use offoreground and background color, bright, italic, underline, blink, reverse, hide and reset on text for ANSI terminals.

Homepage: https://github.com/sickill/rainbow

Version: 2.2.2-1

Section: universe/ruby