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

alborz
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
alborz
Full Stack JavaScript Techdegree Graduate 30,884 Points

When I run brew install git I get several WARNING messages

This is what I get:

Warning: You seem to have osx-gcc-installer installed. Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and is an unlicensed distribution of really old Xcode files. Please run xcode-select --install to install the CLT. Warning: You have an outdated version of /usr/bin/install_name_tool installed. This will cause binary package installations to fail. This can happen if you install osx-gcc-installer or RailsInstaller. To restore it, you must reinstall OS X or restore the binary from the OS packages.

I'm not sure what I should do... Thanks.

2 Answers

It just seems like you have two conflicting installers. I would just choose one. Homebrew will make sure to keep anything you need and gives you instructions to remove the extraneous programs. Brew and osx-gcc-installer don't seem to want to work together. If the instruction given by brew do not work it looks like you have to reinstall OSX which would be a pain based on this info:

https://github.com/Homebrew/homebrew/issues/30136

Good luck.