There are different ruby version managers like rvm, rbenv, and chruby
Change this to rbenv
Chruby is simpler and easier to understand
- Install chruby and ruby-install from homebrew
- use ruby-install to install a version of ruby
ruby-install rubyto install latest version - Enable chruby in your shell and run
chruby ruby-2.x.xorchruby system