Created
January 21, 2017 00:24
-
-
Save kenjij/c90e8e3bb746d48ab97f7ed7b70d0a2c to your computer and use it in GitHub Desktop.
RVM administration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See: https://rvm.io/rvm/install | |
# Install public key | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
# Single-user install | |
\curl -sSL https://get.rvm.io | bash -s stable --ruby | |
# Multi-user install; after install, add users to "rvm" group | |
\curl -sSL https://get.rvm.io | sudo bash -s stable | |
# RVM update/upgrade | |
rvm get stable | |
## Rubies | |
# List known Rubies | |
rvm list known | |
# Install Ruby (e.g. 2.2.x latest) | |
rvm install 2.2 | |
# Set default Ruby version | |
rvm use 2.2 --default | |
# Ruby upgrade | |
rvm upgrade 2.2.2 2.2.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment