Created
March 24, 2014 04:39
-
-
Save tunglam14/9734260 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| sudo apt-get update | |
| sudo apt-get install -y git gcc g++ libcurl4-openssl-dev libexpat1-dev gettext libz-dev libssl-dev build-essential libsqlite3-dev libreadline-dev | |
| curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash | |
| echo """ | |
| export RBENV_ROOT="${HOME}/.rbenv" | |
| if [ -d "${RBENV_ROOT}" ]; then | |
| export PATH="${RBENV_ROOT}/bin:${PATH}" | |
| eval "$(rbenv init -)" | |
| fi | |
| """ > ~/.bashrc | |
| source ~/.bashrc | |
| rbenv update | |
| rbenv install 2.0.0-p353 | |
| rbenv rehash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment