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:
- You will not be able to install new rubies
- 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
- nodejs
- 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
Error Running Heckle? 'Current_Code': Undefined Method 'Translate' for Ruby2Ruby
Exception_Notification for Delayed_Job
Ruby Scope of Data After _End_
Multiple Submit Buttons/Forms in Rails
Custom_Require.Rb:36:In 'Require': No Such File to Load -- Myapp(Loaderror)
Exec': String Contains Null Byte (Argumenterror)
What Is the Purpose of the Enumerator Class in Ruby
How Does Ruby Allow a Method and a Class with the Same Name
You May Have Encountered a Bug in the Ruby Interpreter or Extension Libraries
Undefined Method Pluralize for Main:Object
Converting Binary Data to String in Ruby
What's the Difference Between /\P{Alpha}/I and /\P{L}/I in Ruby
Ruby Convert Idn Domain from Punycode to Unicode