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/ngauthier/5039249/raw/1868bf4714052b40e2bb7fdf3f40fbeb5d730bca/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-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" |
Thanks @pije76 :) :)