Fixing Ruby on Mac OS X Mavericks
October 28, 2013Mavericks totally broke Ruby for me. Here’s how I fixed it:
- Updated from Xcode 4 to Xcode 5
- Installed rvm
- Installed Ruby 1.9.3 through rvm
- Got an
icu required
error when trying to install gems. Tried to runbrew install icu4c
, it failed. Tried to runbrew update
, got theerror: Your local changes to the following files would be overwritten by merge
. Ran:
cd brew --prefix git remote add origin https://github.com/mxcl/homebrew.git git fetch origin git reset --hard origin/master
- Ran
brew update
- Ran
brew install icu4c
- Installed gems. Done!