Last Updated: February 25, 2016
·
1.899K
· XaMuT

Install rbenv on Mac OS X

  1. Delete RVM source lines from .bashrc (.zshrc/.bash_profile/.profile)
  2. Remove RVM installation: rvm implode --force
  3. Remove .rvmrc
  4. exec $SHELL -l
  5. brew update && brew upgrade
  6. brew install rbenv ruby-build rbenv-gem-rehash
  7. echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bashrc
  8. exec $SHELL -l
  9. rbenv install 2.1.2
  10. rbenv global 2.1.2
  11. ruby --version
  12. rbenv rehash
  13. gem install bundler
  14. brew reinstall vim