Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Ruby Foundations Ruby Basics Installing Ruby

alborz
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
alborz
Full Stack JavaScript Techdegree Graduate 30,885 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.