install ruby on rails 6 on ubuntu 20.04 code example Example: install ruby ubuntu 20.04 sudo apt update sudo apt install ruby-full