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!
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

Edward Jasper
Courses Plus Student 4,981 PointsError installing Rails
Hey everyone I am trying to install rails but everytime I do it I get...
'''Failed during: /usr/bin/sudo /usr/bin/xcode-select --install'''
What should I do!?
4 Answers

minzawmra
Courses Plus Student 15,682 PointsHave you got Xcode installed?

Edward Jasper
Courses Plus Student 4,981 Pointsits installed and the latest version

minzawmra
Courses Plus Student 15,682 PointsHow about the command line tools? http://railsapps.github.io/xcode-command-line-tools.html

Edward Jasper
Courses Plus Student 4,981 PointsOkay Let me give it a shot...
Robert King
1,058 PointsRobert King
1,058 PointsHave you recently upgraded or changed versions of xcode?
You might have to run xcode-select --switch to point it to the latest/intended version that you want to use.