how to set up rails with postgres on ubuntu 20.04 code example Example: install ruby ubuntu 20.04 sudo apt update sudo apt install ruby-full