Created
January 7, 2010 05:51
-
-
Save scottjbarr/271029 to your computer and use it in GitHub Desktop.
Install Ruby 1.8 and Rubygems on Debian
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
#!/bin/bash | |
# | |
# 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 | |
wget http://gist.github.com/raw/271007/f0c3dc2b89c36896a2aee9b6c5bf56ff782dcf13/install_ruby18_from_source.sh | |
chmod u+x install_ruby18_from_source.sh | |
./install_ruby18_from_source.sh | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment