I followed [@spickermann's instructions here][1], but I was still running into trouble with the Mac System Ruby install being primary (`ruby -v` did not show my newly installed `global` ruby). I solved it by executing three more steps:
1. ```
rbenv init
```
2. Following the instructions which appeared in the console. For me, using `.zshrc`:
```
# Load rbenv automatically by appending
# the following to ~/.zshrc:
eval "$(rbenv init - zsh)"
```
Yours may be different if you use `.bashrc` or `.bash_profile`, instead of `.zshrc` - in all circumstances, you [should be able to change the `eval` statment][2] to
```
eval "$(rbenv init -)"
```
and have it work equivalently.
3. Start a new terminal (or re-source your `rc` file). For me, using `.zshrc`:
```
source ~/.zshrc
```
After following those steps, `ruby -v` showed the desired version of Ruby and not the system-installed version.
----------
[1]:
[To see links please register here]
[2]:
[To see links please register here]