Last active
December 16, 2015 21:39
-
-
Save fjakobs/5501188 to your computer and use it in GitHub Desktop.
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 | |
# install rvm | |
curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby | |
source $HOME/.rvm/scripts/rvm | |
echo rvm_autolibs_flag=0 >> ~/.rvmrc | |
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"' >> .bashrc | |
# install ruby | |
rvm install 2.0.0 | |
rvm use 2.0.0 | |
# cleanup temporary files | |
rvm disk-usage all | |
rvm cleanup all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment