#!/usr/bin/env bash # Installs ruby-2.0.0-p247 on ubuntu via checkinstall so it's in your package manager and you can remove it. # Quick install: # # curl -L https://gist.github.com/manat/6213000/raw/1c875e87dbddb57cba3c0a1865446ca7e8f5baa5/ruby-2-install-ubuntu.sh | bash -s set -e sudo apt-get build-dep ruby1.9.1 wget -c ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz tar xzf ruby-2.0.0-p247.tar.gz cd ruby-2.0.0-p247 ./configure make sudo checkinstall -y \ --pkgversion 2.0.0-p247 \ --provides "ruby-interpreter"