LoginSignup
2
2

More than 5 years have passed since last update.

mavericks にupdateした際にHomebrewが機能しなくなったときの対処

Last updated at Posted at 2014-03-17

brew settings backup

brew list >  ~/list.txt
brew list | xargs brew info > ~/info.txt

uninstall homebrew

./uninstall_homebrew.sh

この時点あらゆるところで、 Permission Denied メッセージが出る。

chgrp

色々やったけど、これで大丈夫かな。

sudo chgrp -R staff /usr/local/opt

setups

  • zsh
  • ruby
  • doxygen
brew update


zsh

brew install zsh

※completion あとで書く

ruby

brew install openssl
brew install readline
brew install rbenv
brew install ruby-build
.zshrc

※ 下記、gcc 絡みで export CC=/usr/bin/gcc を、後で追記してみることにしました。

.zshrc

export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export CC=/usr/bin/gcc

再読み込みさせます。

source ~/.zshrc

上記をインストール済であれば、下記などを実行します。

doxygen

brew install doxygen graphviz

reference

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2