Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Is my previously installed Python affecting Ruby in my terminal?
Last login: Fri Mar 28 23:10:47 on ttys000
Brandon-Courtneys-MacBook-Pro:~ brandoncourtney$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
==> The following directories will be made group writable:
/usr/local/.
/usr/local/bin
==> The following directories will have their group set to admin:
/usr/local/.
/usr/local/bin
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin
Password:
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 163249, done.
remote: Compressing objects: 100% (46191/46191), done.
remote: Total 163249 (delta 116021), reused 163155 (delta 115948)
Receiving objects: 100% (163249/163249), 30.61 MiB | 835.00 KiB/s, done.
Resolving deltas: 100% (116021/116021), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at 0b515fb openssl: remove inreplace
==> Installation successful!
You should run `brew doctor' *before* you install anything.
Now type: brew help
Brandon-Courtneys-MacBook-Pro:~ brandoncourtney$ brew doctor
Warning: Python is installed at /Library/Frameworks/Python.framework
Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:
2to3
2to3-2.7
idle
idle2.5
idle2.7
pydoc
pydoc2.5
pydoc2.7
python
python-config
python2.5
python2.5-config
python2.7
python2.7-config
pythonw
pythonw2.5
pythonw2.7
smtpd.py
smtpd2.5.py
smtpd2.7.py
Consider setting your PATH so that /usr/local/bin
occurs before /usr/bin. Here is a one-liner:
echo export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile
Brandon-Courtneys-MacBook-Pro:~ brandoncourtney$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment