Skip to content

Instantly share code, notes, and snippets.

@scottjbarr
Created January 12, 2010 04:06
Show Gist options
  • Select an option

  • Save scottjbarr/274893 to your computer and use it in GitHub Desktop.

Select an option

Save scottjbarr/274893 to your computer and use it in GitHub Desktop.
Install Ruby 1.9 from source on Debian
#!/bin/bash
#
# Install Ruby 1.9 on Debian.
#
# Author : Scott Barr
# Date : 7 Jan 2010
#
# TODO : Check that Ruby 1.8 is installed, as it is apparently a dependency for
# installing Ruby 1.9
# make sure some required packages are installed
sudo apt-get install build-essential make zlibc zlib1g zlib1g-dev sysv-rc-conf wget
cd /usr/local/src
wget http://gist.github.com/raw/271006/d3e04f415dc2c2aa2224bdbc0be5ad0f0d26c248/install_ruby19_from_source.sh
chmod u+x install_ruby19_from_source.sh
./install_ruby19_from_source.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment