Install rbenv on Mac OS X
- Delete RVM source lines from .bashrc (.zshrc/.bash_profile/.profile)
- Remove RVM installation: rvm implode --force
- Remove .rvmrc
- exec $SHELL -l
- brew update && brew upgrade
- brew install rbenv ruby-build rbenv-gem-rehash
- echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bashrc
- exec $SHELL -l
- rbenv install 2.1.2
- rbenv global 2.1.2
- ruby --version
- rbenv rehash
- gem install bundler
- brew reinstall vim
Written by XaMuT
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#