Another option might be [nvm](https://github.com/creationix/nvm). Similar to rbenv and also available through Homebrew.