Skip to content

Instantly share code, notes, and snippets.

@etrepat
Created July 19, 2010 11:45
Show Gist options
  • Save etrepat/481301 to your computer and use it in GitHub Desktop.
Save etrepat/481301 to your computer and use it in GitHub Desktop.
How to install ruby/rails dev. environment on Ubuntu 11.10
# Build-tools + Git
sudo apt-get install build-essential git-core
# Install required libraries & tools
sudo apt-get install bison openssl libreadline6 libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev libxslt-dev autoconf
# -- SQLite3 support
sudo apt-get install libsqlite3-0 libsqlite3-dev sqlite3
# -- PostgreSQL support
sudo apt-get install postgresql postgresql-client postgresql-doc libpq-dev
# -- Imagemagick
sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev
# Install RVM
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
# Proceed by installing ruby & gems of choice... f.ex: ruby 1.9.2
rvm install 1.9.2
rvm use 1.9.2 --default
@fidelisrafael
Copy link

Very good, thankz a lot!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment