Created
July 19, 2010 11:45
-
-
Save etrepat/481301 to your computer and use it in GitHub Desktop.
How to install ruby/rails dev. environment on Ubuntu 11.10
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
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very good, thankz a lot!!