$ brew install rbenv ruby-build
$ echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc
$ source ~/.zshrc
Install Ruby
$ rbenv install 2.5.0
$ rbenv global 2.5.0
$ ruby -v
Last active
October 2, 2018 14:17
-
-
Save githubnando/7beba05275c5d945ada61cacf7d44809 to your computer and use it in GitHub Desktop.
Usage of gem package installation without sudo on MacOS Mojave
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment