Last active
December 13, 2016 23:23
-
-
Save juliosguz/0e3609e566ce1a1ed511472ec1752e01 to your computer and use it in GitHub Desktop.
Install Ruby with Homebrew
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
brew install rbenv ruby-build | |
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc | |
echo 'eval "$(rbenv init -)"' >> ~/.zshrc | |
rbenv install 2.2.3 | |
rbenv global 2.2.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment