Install Ruby with rbenv on macOS10 May 2017
This post is about
rbenv, a development environment managing tool for
This tool is handy if you need specific Ruby and Ruby gems versions for specific projects.
By doing this, you keep your project’s requirements in check.
Installing rbenv with
brew install rbenv
brew install ruby-build
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
Installing Ruby in e.g. version 2.2.3 and defining it default system-wide version:
rbenv install 2.2.3
rbenv global 2.2.3