Skip to content

Instantly share code, notes, and snippets.

@SpacyRicochet
Created September 13, 2014 14:48
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 SpacyRicochet/40e17f24ffade81455d2 to your computer and use it in GitHub Desktop.
Save SpacyRicochet/40e17f24ffade81455d2 to your computer and use it in GitHub Desktop.
Install rbenv on clean ubuntu
Install rbenv
1. First, install LinuxBrew (https://www.digitalocean.com/community/tutorials/how-to-install-and-use-linuxbrew-on-a-linux-vps)
2. Then, install rbenv ($ brew install rbenv)
1. Don't use rbevn's directories. Do add the appropriate lines to .bash_profile
| export PATH="$HOME/.rbenv/bin:$PATH"
| if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
3. Then install ruby-build ($brew install ruby-build)
4. Install latest ruby (check with `$ rbenv install -l` and install with `$ rbenv install 2.1.2`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment