Instale RVM Ubuntu 20.04
## Installing RVM with the latest Rails
# Install or update GPG
sudo apt update
sudo apt install gnupg2
# Request the RVM project’s public key to verify the legitimacy of your download
gpg2 --keyserver hkp://keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
# Download the RVM installation script from the project’s website
\curl -sSL https://get.rvm.io -o rvm.sh
# If you would like to audit the contents of the script before applying it
nano rvm.sh
# Pipe it to bash to install the latest stable Rails version which will also
# pull in the associated latest stable release of Ruby.
cat rvm.sh | bash -s stable --rails
# Source the RVM scripts from the directory they were installed
source ~/.rvm/scripts/rvm
Tomanator