- stay calm
- do not approach, and give it a way to escape
- do not run, as it may encourage it to chase you
- do not crouch or bend over, as you may look more like a 4-legged prey animal
- do all you can to appear larger. raise your arms and open your jacket.
- install Mountain Lion
- Upgrade XCode
- Upgrade the command-line tools using the XCode preferences. If you get a cryptic error about not having access, get the command line tools directly from apple's developer site
- download and install xquartz from their site
brew update
brew tap homebrew/dupes
brew install apple-gcc42
rvm get head
rvm reload
rvm reinstall
all your rubies.
And you're good to go. If you're still concerned about ruby gems, you can always run gem pristine --all
in any of your gemsets.