Skip to content

Instantly share code, notes, and snippets.

@mitchwongho
Created May 13, 2021 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitchwongho/24e6d1ec716fe4d33fae3b2f3f368abf to your computer and use it in GitHub Desktop.
Save mitchwongho/24e6d1ec716fe4d33fae3b2f3f368abf to your computer and use it in GitHub Desktop.
Brew Caveat: Ruby
==> ruby@2.7
By default, binaries installed by gem will be placed into:
/usr/local/lib/ruby/gems/2.7.0/bin
You may want to add this to your PATH.
ruby@2.7 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
If you need to have ruby@2.7 first in your PATH, run:
echo 'export PATH="/usr/local/opt/ruby@2.7/bin:$PATH"' >> ~/.zshrc
For compilers to find ruby@2.7 you may need to set:
export LDFLAGS="-L/usr/local/opt/ruby@2.7/lib"
export CPPFLAGS="-I/usr/local/opt/ruby@2.7/include"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment