Problems with gems and Ruby 1.8.7

I had this particular problem as well and here’s how I got around it:
For OS 10.7 + XCode4.3 only open Xcode preferences, select the
“Downloads” button, select the “Components” tab of Downloads, highlight
“Command Line Tools” and press the install button. Gem install rails
didn’t give me any trouble after that. Hope that works for you too,

Chad

This WORKED! Thank you…

I had this particular problem as well and here’s how I got around it:
For OS 10.7 + XCode4.3 only open Xcode preferences, select the
“Downloads” button, select the “Components” tab of Downloads, highlight
“Command Line Tools” and press the install button. Gem install rails
didn’t give me any trouble after that. Hope that works for you too,

Chad

This worked for me as well. Thank you!

Ruby S. wrote in post #1070503:

Posted by mark wiltshire (markemark) on 2012-07-17 18:39

I had this particular problem as well and here’s how I got around it:
For OS 10.7 + XCode4.3 only open Xcode preferences, select the
“Downloads” button, select the “Components” tab of Downloads, highlight
“Command Line Tools” and press the install button. Gem install rails
didn’t give me any trouble after that. Hope that works for you too,

It did work for me thank you so much :slight_smile:

Seems to work with OS 10.8 and XCode 4.4 as well - same problem
encountered - same solution - thanks so much for the help