Skip to content

Instantly share code, notes, and snippets.

@vialyx
Last active January 15, 2018 12:56
Show Gist options
  • Save vialyx/2ad1155200c93646482fb55658fa80e6 to your computer and use it in GitHub Desktop.
Save vialyx/2ad1155200c93646482fb55658fa80e6 to your computer and use it in GitHub Desktop.
# Terminal
# Get latest rvm
MacBook-User:~ \curl -sSL https://get.rvm.io | bash -s stable
# Shows the list of versions of the ruby
MacBook-User:~ rvm list known
# Install ruby version ruby-x.x.x
MacBook-User:~ rvm install ruby-2.4.0
# Use ruby version ruby-x.x.x as default
MacBook-User:~ rvm use ruby-2.4.2 --default
# Show default ruby version
MacBook-User:~ ruby -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment