Skip to content

Instantly share code, notes, and snippets.

@fjakobs
Last active December 16, 2015 21:39
Show Gist options
  • Save fjakobs/5501188 to your computer and use it in GitHub Desktop.
Save fjakobs/5501188 to your computer and use it in GitHub Desktop.
#!/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