2015-01-09 2 views
0

Несколько дней назад доморощенный начал застревать, когда я пытаюсь запустить brew doctor или brew --config. Выход:Homebrew замораживается при запуске варева врача или варки --config

$ brew --config 
HOMEBREW_VERSION: 0.9.5 
ORIGIN: https://github.com/Homebrew/homebrew.git 
HEAD: 391ed374442cb8f91d9168ccd23f1c97b84686d1 
Last commit: 6 minutes ago 
HOMEBREW_PREFIX: /usr/local 
HOMEBREW_CELLAR: /usr/local/Cellar 
CPU: quad-core 64-bit sandybridge 
OS X: 10.10.1-x86_64 

и

$ brew doctor 
Please note that these warnings are just used to help the Homebrew maintainers 
with debugging if you file an issue. If everything you use Homebrew for is 
working fine: please don't worry and just ignore them. Thanks! 

Warning: Setting DYLD_* vars can break dynamic linking. 
Set variables: 
    DYLD_LIBRARY_PATH: /usr/local/kde4/lib:/Users/<username>/Desktop/anderes/benvium-libimobiledevice-macosx-8507dd2 

Единственный способ выхода посылает SIGINT к процессу. Во всяком случае, brew update работал:

$ brew update 
Updated Homebrew from cd9895d9 to 391ed374. 
==> Updated Formulae 
curl   fwknop john-jumbo sshrc 
$ brew update 
Already up-to-date. 

Я попытался reinstalling homebrew, но это не похоже на работу:

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 
It appears Homebrew is already installed. If your intent is to reinstall you 
should do the following before running this installer again: 
    rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup 
$ rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup 
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 
/Users/<username>/.rbenv/shims/ruby: line 21: /usr/local/Cellar/rbenv/0.4.0/libexec/rbenv: No such file or directory 

Удивительно, но сама команда заварить работает даже после rm команды выше. Мне интересно, что я делаю неправильно. Спасибо за любую помощь!

+1

FWIW, исполняемый файл brew работает в/usr/local/bin, поэтому nuking Cellar не избавляется от него. –

ответ

0

Я получил решение сейчас: xcode-select указывал на неправильный каталог. sudo xcode-select -switch /Applications/Xcode.app решил проблему.

Смежные вопросы