Created
December 17, 2011 19:18
-
-
Save kblomqvist/1491107 to your computer and use it in GitHub Desktop.
Install Ruby
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
# MANDATORY! Install a bunch of support software | |
sudo aptitude install build-essential curl autoconf \ | |
zlib1g zlib1g-dev bison openssl libssl-dev \ | |
libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev | |
# Install RVM locally | |
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
# Install Ruby 1.9.3 locally | |
rvm install 1.9.3 | |
# If you got ssl cert errors | |
#echo insecure >> ~/.curlrc | |
# Use Ruby in this login session | |
rvm use 1.9.3 | |
# Set default Ruby version | |
rvm default 1.9.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment