I downgraded from Xcode 4.2 to 4.1.
When I tried to install Ruby 1.9.2 using rvm and ran rvm requirements, it showed:
“Xcode 4.2.1+ users - please be warned - ”
It seemed impossible, so I downgraded from Xcode 4.2 to Xcode 4.1.
Download xcode_4.1_for_lion.dmg from Resources for Apple Developer.
・Resources for Apple Developers - Apple Developer
Developer registration is required for download (paid).
Run the following command:
$ sudo /Developer/Library/uninstall-devtools --mode=all
To create Install Xcode.app in the Applications folder with xcode_4.1_for_lion.dmg, delete the existing installer Install Xcode.app.
Mount xcode_4.1_for_lion.dmg and double-click InstallXcodeLion.pkg to install.
That’s all.
・About Downgrading from Xcode4.2 to 4.1 - Actually hokkai7go
・How to remove XCode 4.2 and install 4.1 to develop Ruby / Rails on OSX Lion? - Stack Overflow
That’s all from the Gemba.