Created
January 17, 2018 04:11
-
-
Save tommydangerous/faca580583db45c517e1f8a07437deab to your computer and use it in GitHub Desktop.
Install RVM & Ruby on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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