Created
January 28, 2019 22:40
-
-
Save UbuntuEvangelist/c2ec9cd4602b7ce5ae6721425f0b1b03 to your computer and use it in GitHub Desktop.
Installing RVM in Ubuntu 16.04+ LTS
This file contains hidden or 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
| #!/bin/bash | |
| # run from root user | |
| apt-get update | |
| apt-get install curl | |
| \curl -sSL https://get.rvm.io | bash -s stable | |
| gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB | |
| source ~/.rvm/scripts/rvm | |
| gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 | |
| gpg --import mpapis.asc | |
| echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"' >> .bashrc | |
| apt-get update | |
| rvm reload | |
| echo rvm_auto_reload_flag=1 >> ~/.rvmrc | |
| echo rvm_auto_reload_flag=2 >> ~/.rvmrc | |
| rvm --version | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment