Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby Ruby Foundations Ruby Basics Installing Ruby

John Donnell
John Donnell
7,801 Points

Failed to install homebrew on os x yosemite

Homebrew fails to install, any way to fix this?

==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1

Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew Password: ==> Installing the Command Line Tools (expect a GUI popup): ==> /usr/bin/sudo /usr/bin/xcode-select --install Usage: xcode-select -print-path or: xcode-select -switch <xcode_folder_path> or: xcode-select -version Arguments: -print-path Prints the path of the current Xcode folder -switch <xcode_folder_path> Sets the path for the current Xcode folder -version Prints xcode-select version information Failed during: /usr/bin/sudo /usr/bin/xcode-select --install MacBook-Pro:

1 Answer

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey John Donnell it looks like the command line tools for xcode might not be installed. Try what it says in the error message and see if that helps:

/usr/bin/sudo /usr/bin/xcode-select --install

John Donnell
John Donnell
7,801 Points

Almost everything I tried to download in the terminal failed. I did a fresh install of OS X, now everything installed fine with no problems.