Skip to content

Instantly share code, notes, and snippets.

@tommydangerous
Created January 17, 2018 04:11
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 tommydangerous/faca580583db45c517e1f8a07437deab to your computer and use it in GitHub Desktop.
Save tommydangerous/faca580583db45c517e1f8a07437deab to your computer and use it in GitHub Desktop.
Install RVM & Ruby on Ubuntu
# https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rvm-on-ubuntu-16-04
$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
$ cd /tmp
$ curl -sSL https://get.rvm.io -o rvm.sh
$ ./rvm.sh
$ cat /tmp/rvm.sh | bash -s stable --rails
$ source /home/ubuntu/.rvm/scripts/rvm
$ rvm list known
$ rvm install 2.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment