Skip to content

Instantly share code, notes, and snippets.

@shyam
shyam / compile-ruby-1.9.x-on-linux.sh
Created September 22, 2011 06:49
Installing Ruby 1.9.x from source on Linux ( Debian/Ubuntu and RHEL/CentOS )
# Note: This script show how to compile ruby-1.9.2-p290. It can also be used for 1.9.3-p0 or higher versions.
#
# Dependencies
#
# Debian and derivatives:
# aptitude install build-essential libssl-dev libcurl4-openssl-dev libreadline5-dev zlib1g-dev libxslt1-dev libxml2-dev