Answers for "Install RVM"

4

rvm install new ruby version

$ ruby -v 						# Check ruby version 
$ rvm install ruby-X.X.X        # Install specific ruby version
$ rvm list						# List ruby versions
$ rvm use ruby-X.X.X			# Choose a version to use
$ rvm use ruby-X.X.X --default  # Set a version as default
Posted by: Guest on October-12-2020
1

Install RVM

Install GPG keys

# -----      Firewall issues      -------------------
In case importing gpg keys hangs forever, it might be that is a firewall issue. If you are behind a firewall, make sure you open outgoing port 11371 (TCP).
# -----      Firewall issues      -------------------
# -----      Alternatively      -------------------
Alternatively you might want to import keys directly from our web server, although this is a less secure way:
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
#if error change to -> curl -L and with sudo gpg

# -----      Alternatively      -------------------


# -----      Trust our keys      -------------------
echo 409B6B1796C275462A1703113804BB82D39DC0E3:6: | gpg2 --import-ownertrust # [email protected]
echo 7D2BAF1CF37B13E2069D6956105BD0E739499BDB:6: | gpg2 --import-ownertrust # [email protected]
# -----      Trust our keys      -------------------

# -----      Run verified installation      -------------------
\curl -sSL https://get.rvm.io | bash -s stable
# -----      Run verified installation      -------------------
Posted by: Guest on July-06-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language