Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ggayan
Forked from ngauthier/README.md
Last active December 17, 2015 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ggayan/5637565 to your computer and use it in GitHub Desktop.
Save ggayan/5637565 to your computer and use it in GitHub Desktop.

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment