Skip to content

Instantly share code, notes, and snippets.

@simplay
Created July 2, 2016 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simplay/3d0e8169d87b95dcb6a753b59ce54158 to your computer and use it in GitHub Desktop.
Save simplay/3d0e8169d87b95dcb6a753b59ce54158 to your computer and use it in GitHub Desktop.
  1. \curl -sSL https://get.rvm.io | bash -s stable

  2. https://rvm.io/integration/gnome-terminal

  3. [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

Load RVM into a shell session as a function

at the BOTTOM (last line - important!) of my .bashrc file. I had it in my .bash_profile file (I am on Ubuntu) and that only partially worked leading to the confusing errors.

  1. restart terminal
  2. rvm install ruby-2.3.0
  3. rvm use 2.3.0 --default
  4. Restart terminal, done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment