Skip to content

Instantly share code, notes, and snippets.

@oinume
Created June 15, 2012 16:19
Show Gist options
  • Save oinume/2937364 to your computer and use it in GitHub Desktop.
Save oinume/2937364 to your computer and use it in GitHub Desktop.
install_rvm.sh
#!/bin/sh
set -eux
sudo apt-get -y install curl git-core bzip2 build-essential zlib1g-dev libssl-dev
curl -L get.rvm.io | sudo bash -s stable
sudo su -
[ -f /etc/profile.d/rvm.sh ] && . /etc/profile.d/rvm.sh
RUBY_VERSION=ruby-1.9.3-p194
rvm install $RUBY_VERSION
rvm use $RUBY_VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment