Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
~$ brew unlink ruby
Unlinking /usr/local/Cellar/ruby/2.6.3... 0 symlinks removed
~$ echo $PATH
~$ brew link ruby
Warning: Refusing to link macOS-provided software: ruby
If you need to have ruby first in your PATH run:
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile
For compilers to find ruby you may need to set:
export LDFLAGS="-L/usr/local/opt/ruby/lib"
export CPPFLAGS="-I/usr/local/opt/ruby/include"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.