Created
September 13, 2014 14:48
-
-
Save SpacyRicochet/40e17f24ffade81455d2 to your computer and use it in GitHub Desktop.
Install rbenv on clean ubuntu
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
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