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