Skip to content

Instantly share code, notes, and snippets.

@kenjij
Created January 21, 2017 00:24
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenjij/c90e8e3bb746d48ab97f7ed7b70d0a2c to your computer and use it in GitHub Desktop.
Save kenjij/c90e8e3bb746d48ab97f7ed7b70d0a2c to your computer and use it in GitHub Desktop.
RVM administration
# 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