Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Install Ruby 1.8 and Rubygems on Debian
# Install Ruby 1.8 and Rubygems on Debian.
# Author : Scott Barr
# Date : 7 Jan 2010
# make sure some required packages are installed
sudo apt-get install build-essential make zlibc zlib1g zlib1g-dev libssl-dev
# install some package you will need for DB support
sudo apt-get install postgresql-server-dev-8.1 libmysql-ruby mysql-client libmysqlclient15-dev
cd /usr/local/src
chmod u+x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment