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 -Lo- https://gist.github.com/Sfate/5535586/raw/install-ruby-2-ubuntu.sh | bash
#!/usr/bin/env bash | |
set -e | |
RUBY_V='ruby-2.0.0-p0' | |
sudo apt-get install checkinstall | |
sudo apt-get build-dep ruby1.9.1 | |
wget -c http://ftp.ruby-lang.org/pub/ruby/2.0/$RUBY_V.tar.gz | |
tar xzf $RUBY_V.tar.gz | |
cd $RUBY_V | |
./configure | |
make | |
sudo checkinstall -y \ | |
--pkgversion 2.0.0-p0 \ | |
--provides "ruby-interpreter" | |
cd .. && rm -rf $RUBY_V.tar.gz $RUBY_V |