How to Remove Xcode 4.2 and Install 4.1 to Develop Ruby/Rails on Osx Lion

How to remove XCode 4.2 and install 4.1 to develop Ruby / Rails on OSX Lion?

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.

Ruby 1.9.2/ Rails 3.2.2 working; what happens if I remove xCode 4.2?

What you have now is the best set of tools for compiling rubies recomended by RVM.

Removing it will have few implications:

  1. You will not be able to install new rubies
  2. You will not be able to install new gems with native extesnions

If you want to remove Xcode 4.2 you will lose possibility for installing some software

  1. nodejs
  2. some gems like rb-fsevent

How to install Xcode 4.6 on Lion, needed for upgrading ruby with RVM

It seems you're going to have to install under Xcode 5. So go to https://developer.apple.com/downloads/ and log in with your developer ID to get to the older versions. There should be a 4.6.3 that you could potentially download, or even 4.6.2.

Or you could upgrade your OSX to 10.8.

Whichever you prefer.

I can't give you a direct link to it, since you need your developer information to log in yourself. But all the downloads you need are in the link provided above once you log in.

Install XCode.app reinstalls Xcode 4.1 and not 4.2

Ok, here's what worked for me:

I deleted Install Xcode.app from Applications, and then ran the following script:

/Library/Developer/Shared/uninstall-devtools

This is in a different location to before and I didn't spot it :/

Then run Mac App Store, search for Xcode, you should find there is now the option to install it.

Ruby on Rails and Mac OS Lion super slow! Why?

Just to help anyone else with this issue.. What I did was simply switched my server to Mongrel. This did the trick.

Instructions



Related Topics



Leave a reply



Submit