2015-01-26 4 views
1

예전에 홈 브루가 설치되어 있었지만 어느 시점에서 파손되었으므로 다시 설치해 보았습니다. 내가 실행 시도 :자작농이 더 이상 작동하지 않습니다.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 

그것은 주었다

-e:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777 
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 

(그것이 설치되어 말한다 이유를 모르겠어요, 양조를 실행하는 "zsh을을 : 발견되지 명령 양조"제공) 그래서 를

zsh: command not found: brew 

가 그럼 난 brew clean-up없이 실행 시도 : 나는 것을 실행 해 보았다. 어떤 실행. 내가 다시-RAN :

Downloading and installing Homebrew... 
remote: Counting objects: 226839, done. 
remote: Compressing objects: 100% (59610/59610), done. 
remote: Total 226839 (delta 165997), reused 226815 (delta 165979) 
Receiving objects: 100% (226839/226839), 52.14 MiB | 135.00 KiB/s, done. 
Resolving deltas: 100% (165997/165997), done. 
From https://github.com/Homebrew/homebrew 
* [new branch]  master  -> origin/master 
warning: unable to access 'bin/.gitattributes': Permission denied 
error: unable to create file bin/brew (Permission denied) 
fatal: Could not reset index file to revision 'origin/master'. 
Failed during: git reset --hard origin/master 

시도 추가 sudo를 : :

sudo ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 

가 제공합니다 :

Don't run this as root! 
는이 점에 도달 할 때까지이 다운로드하고 설치를 시작합니다

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 

여기에서 어디로 가야할지 모르겠다. . 누군가 나를 도울 수 있습니까?

+0

이것은 설치 문제 일 뿐이며 http : // SuperUser .com? –

+0

@PaulSasik : 나는 이것이 "프로그래밍에 주로 사용되는 도구를 직접적으로 사용하지 않는 한"절 아래에 있다고 주장 할 것이다. 그러나 나는 당신의 요지를 보았다. – Dair

답변

0

zsh을 설치 한 후 터미널을 다시 시작 했습니까? blu는 zshell 용으로로드되지 않을 수도 있습니다. 또한 usr/local /을 .zshrc의 $ 경로에 추가해야합니다. zsh 구성 파일은 in 루트 ~/.zshrc에 있어야합니다.

+0

그래, 나는 잠시 동안 zsh을 가졌다. 그래서 나는 그것을 재시작했다. 잠시 동안 나는 virtualbox를 사용 해왔고 homebrew에 대한 필요성을 느끼지 못했지만 virtualbox와 관련하여 몇 가지 문제가 있으며 homebrew를 다시 사용해야합니다. 그래도 응답 주셔서 감사합니다. – Dair

+0

또한 usr/local이 경로에 있습니다. – Dair

관련 문제