This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Tested for Ubuntu 12.04 | |
[[ "$(id -u)" -ne "0" ]] && echo "must be root!" && exit 1 | |
RBVER="2.0.0-p0" | |
apt-get update | |
apt-get install -y build-essential bison zlib1g-dev libssl-dev libgdbm-dev libreadline-dev libncurses-dev libffi-dev libyaml-dev wget rsync git-core |