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/boydm/6202701/raw/940002a24c48955e1b011e2600f00a8570afe219/ruby-2-install-ubuntu.sh | bash -s
#!/usr/bin/env bash | |
set -e | |
sudo apt-get build-dep ruby1.9.1 | |
wget -c http://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" |