Installs 2.1.1 on ubuntu via checkinstall so it's in your package manager and you can remove it.
Quick install:
curl -L https://gist.github.com/denji/5760269/raw/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.1/ruby-2.1.1.tar.gz | |
| tar xzf ruby-2.1.1.tar.gz | |
| cd ruby-2.1.1 | |
| ./configure | |
| make | |
| sudo checkinstall -y \ | |
| --pkgversion 2.1.1 \ | |
| --provides "ruby-interpreter" |
Wont work since the folder will be ruby-2.1.0