Thanks to Shigeya, who contributed the solution and it worked for me like a charm:
- Uninstall XCode.
- Install XCode 4.3.2 (by the time I put up this post) from Apple's App Store.
- Open a terminal, run 'sudo xcode-select -switch /Applications/Xcode.app'.
- Open XCode, go to 'Xcode -> Preferences -> Components', install 'Command Line Tools'.
- Install RVM from master branch, or run 'rvm get head' if you've installed RVM.
- Install Ruby 1.9.3-p125 using RVM.
Anyway, the love of Ruby with LLVM is a little bit bitter now, but as Shigeya saids, it is the right way to go. And we're looking forward to seeing a beautiful marriage of the two in the very near future.Xcode 4.3+ users - please be warned - only ruby-1.9.3-p125+ is partially supported - in case of any compilation issues: * downgrade to Xcode 4.1 * uninstall Xcode and install osx-gcc-installer and reinstall your rubies.
You might also be interested in the newly introduced 'XCode Command Line Tools', and here's the story:
Xcode, GCC, and Homebrew by Kenneth Reitz, the creator of the osx-gcc-installer.
Hope this helps.
No comments:
Post a Comment