Cómo instalar Ruby en Ubuntu
sudo apt update && sudo apt install -y ruby-full && ruby --version
CharllierJr
sudo apt update && sudo apt install -y ruby-full && ruby --version
sudo apt update
sudo apt install ruby-full
sudo snap install ruby --classic
gem install rails -v 6.1.5.1