Skip to content

Instantly share code, notes, and snippets.

@iseitz
Created February 15, 2019 06:56
Show Gist options
  • Save iseitz/f4f9bd029123fe02c85d6634592cf742 to your computer and use it in GitHub Desktop.
Save iseitz/f4f9bd029123fe02c85d6634592cf742 to your computer and use it in GitHub Desktop.
$ rvm get stable
# if there is a problem with getting the latest version run:
$ rvm get head
$ rvm reload
$ rvm get stable
# if that does not work try:
$ \curl -sSL https://get.rvm.io | bash -s stable
$ rvm reload
# you need to restart your terminal here
$ rvm list known
# shows the list of all installed rubies
$ rvm remove ruby_version
$ rvm install ruby-2.6.0 (set your version here)
$ ruby -v (shows you the version that rvm is currently using)
# just in case to make sure that you are using the right version run:
$ rvm use ruby-2.4.2 --default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment