Homebrew Ruby Installation ~/.zshrc file config

Spread the love

If you have installed the ruby using Homebrew, then you need to add the following in ~/.zshrc file to make it available in zsh terminal.

PATH="/usr/local/opt/[email protected]/bin:$PATH"
GEM_HOME="$HOME/.gem"
PATH="$GEM_HOME/ruby/2.7.0/bin:$PATH"

Cheers and Peace out!!!