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.

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据