Skip to content

Instantly share code, notes, and snippets.

@kblomqvist
Created December 17, 2011 19:18
Show Gist options
  • Save kblomqvist/1491107 to your computer and use it in GitHub Desktop.
Save kblomqvist/1491107 to your computer and use it in GitHub Desktop.
Install Ruby
# 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