Skip to content

Instantly share code, notes, and snippets.

@dimmg
Last active April 16, 2016 10:00
Show Gist options
  • Save dimmg/12b6718bea6614a191f9a34433af18e9 to your computer and use it in GitHub Desktop.
Save dimmg/12b6718bea6614a191f9a34433af18e9 to your computer and use it in GitHub Desktop.
rvm + ruby + ror installation

RVM

  1. gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
  2. \curl -sSL https://get.rvm.io | bash -s stable
  3. add [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" to the end of your unix shell source file (ex: .bashrc, .zshrc)
  4. if it says that .rvm/scripts/rvm not found run cp /usr/share/rvm/scripts ~/.rvm (optionally)

Ruby

  1. rvm list known to see all available ruby versions
  2. rvm install {{ version }} ex: rvm install 2.2.4
  3. rvm list to check if it was installed

Ruby on Rails

  1. gem install rails -v {{ version }} ex: gem install rails -v 4.2.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment