How to remove XCode 4.2 and install 4.1 to develop Ruby / Rails on OSX Lion?
Solution 1
I'll save you any additional trouble: Your rvm installation is out of date.
Reinstall Xcode 4.2, grab the latest rvm, and get back to your work with no fuss and no hoop-jumping.
Solution 2
Uninstall 4.2 with
/Library/Developer/4.2/uninstall-devtools --mode=all
Then XCode 4.1 Download is here
Solution 3
thanks a lot it is helpful
first:
Uninstall 4.2 with
/Library/Developer/4.2/uninstall-devtools --mode=all
secondly:
download xcode4.1 installed dmg file
run dmg file to install Xcode
be sure there is no "install Xcode" file in your "/application" directory
after running dmg file , one new "install Xcode" file will be created in "application" directory.
finally: run install Xcode to finish installation
Solution 4
Dont you have an "Install Xcode" application on your Applications folder ? I had to run it to complete the installation after executing the package from the xcode_4.1_for_lion.dmg
Solution 5
To retrieve Xcode 4.1, you have to log in to the Mac Dev Center and go to Additional Downloads. You will find all the installation disk images for all the Xcode versions.
Comments
-
tmaximini about 2 years
I develop Rails apps using RVM (ruby version manager).
I had to download XCode, in the app store I got only version 4.2.
Now RVM says that it can't build rubies properly with this XCode, so I followed this tutorial:
I downloaded the XCode version from the link that is shown when you type
rvm requirements
in the console. (https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.1_for_lion/xcode_4.1_for_lion.dmg)Now, there is a 3.09 GB .dmg with an installXCodeLion package, and it installs successfully, but after there is no XCode or whatsoever on my system. (I stopped also the iTunesHelper process... )
Anybody knows how to install XCode 4.1 ? Or where to officially get it from Apple? Or anybody uses RVM and ruby 1.9.2 w/ Rail 3.1 successfully on Lion?