install ruby 2.3 1 ubuntu 18.04 code example
Example 1: how to install ruby on ubuntu
sudo apt update && sudo apt install -y ruby-full && ruby --version
Example 2: install ruby ubuntu 20.04
sudo apt update
sudo apt install ruby-full
sudo apt update && sudo apt install -y ruby-full && ruby --version
sudo apt update
sudo apt install ruby-full