Created
August 9, 2019 17:40
-
-
Save gartha1/3652a0f1b14de8b52b57d722afad272e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ brew unlink ruby | |
Unlinking /usr/local/Cellar/ruby/2.6.3... 0 symlinks removed | |
~$ echo $PATH | |
/usr/local/opt/ruby/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/rubymac/rubyrailshelperscripts:/opt/X11/bin:/Users/apple/.vimpkg/bin:/usr/local/opt/fzf/bin | |
~$ 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