Last active
August 13, 2017 13:51
-
-
Save picatz/0c85ac20e2fe9363a85960c0494273a1 to your computer and use it in GitHub Desktop.
Intall Ruby 2.4.1 with RVM and BASH
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
# Install the Ruby Version Manager | |
function install_rvm() { | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB | |
curl -sSL https://get.rvm.io | bash -s stable | |
source /home/$USER/.rvm/scripts/rvm | |
echo "source /home/$USER/.rvm/scripts/rvm" >> /home/$USER/.bashrc | |
rvm install 2.4.1 | |
} | |
# call the function | |
install_rvm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment