Installing Homebrew on Yosemite

One of the downsides of playing with beta software is that your stuff breaks. For OS X 10.10 (Yosemite), Homebrew was one of those things.

Here’s how I fixed it:

  1. Nuke the previous one.

    rm -rf /usr/local/Cellar

  2. Install the new one.

    ruby -e “$(curl -fsSL https://raw.github.com/Homebrew/
    homebrew/go/install)”

  3. Run Brew Doctor.

    brew doctor

  4. Clean up any issues.
  5. Install your software.

Now you’ll be running with Ruby 2.x (default in Yosemite) as well as the latest Homebrew.



发表评论

This site uses Akismet to reduce spam. Learn how your comment data is processed.