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 trialAlex Rodriguez
2,144 PointsHaving trouble installing RVM and linking git with homebrew. Lot's of warning after 'brew doctor'.
This is what my terminal displays. After I installed homebrew, it worked then I run brew doctor. Can anyone please assist me with this?
Alexs-MacBook-Air:~ arodriguez2012$ brew doctor
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 unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run brew link
on these:
git
Warning: A newer Command Line Tools release is available
Update them from Software Update in the App Store.
Alexs-MacBook-Air:~ arodriguez2012$ brew install git
Warning: A newer Command Line Tools release is available
Update them from Software Update in the App Store.
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: git-1.9.0 already installed, it's just not linked
Alexs-MacBook-Air:~ arodriguez2012$
3 Answers
Patrick Cooney
12,216 PointsAre you running an old version of Xcode?
Alex Rodriguez
2,144 PointsI believe it's the most current one.
This is what I receive when I run the most ' xcode-select'
Alexs-MacBook-Air:~ arodriguez2012$ brew install git
Warning: A newer Command Line Tools release is available
Update them from Software Update in the App Store.
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: git-1.9.0 already installed, it's just not linked
Alexs-MacBook-Air:~ arodriguez2012$ xcode-select
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
Alexs-MacBook-Air:~ arodriguez2012$
Patrick Cooney
12,216 PointsHmmm, I ask because it seems like based on the warnings you may have an older compiler.
Alex Rodriguez
2,144 PointsI believe it's the most current one.
This is what I receive when I run the most ' xcode-select'
Alexs-MacBook-Air:~ arodriguez2012$ brew install git
Warning: A newer Command Line Tools release is available
Update them from Software Update in the App Store.
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: git-1.9.0 already installed, it's just not linked
Alexs-MacBook-Air:~ arodriguez2012$ xcode-select
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
Alexs-MacBook-Air:~ arodriguez2012$