Installs ruby-2.0.0-p195 on ubuntu via checkinstall so it's in your package manager and you can remove it.
Quick install:
curl -L https://gist.github.com/ggayan/5637565/raw/5835fe8ae3efb2c96c75c59ada2b1ecbe123bcfb/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-p195.tar.gz | |
| tar xzf ruby-2.0.0-p195.tar.gz | |
| cd ruby-2.0.0-p195 | |
| ./configure | |
| make | |
| sudo checkinstall -y \ | |
| --pkgversion 2.0.0-p195 \ | |
| --provides "ruby-interpreter" |