2013-10-14 71 views
0

我知道,這不是我每天做的事情。但是,這真的很奇怪。 ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"自制安裝工作,但釀造不工作OSX 10.8.5

的我居然得到這個迴應:我使用安裝自制

> ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1 
> 
> Press ENTER to continue or any other key to abort 
> ==> Downloading and Installing Homebrew... remote: Finding bitmap roots... remote: Counting objects: 132404, done. remote: Compressing 
> objects: 100% (43037/43037), done. remote: Total 132404 (delta 91508), 
> reused 129108 (delta 88342) Receiving objects: 100% (132404/132404), 
> 31.72 MiB | 2.51 MiB/s, done. Resolving deltas: 100% (91508/91508), done. From https://github.com/mxcl/homebrew * [new branch]  
> master  -> origin/master HEAD is now at 27cc45c rhash 1.3.0 
> Warning: /usr/local/bin is not in your PATH. 
> ==> Installation successful! You should run `brew doctor' *before* you install anything. Now type: brew help 

你會真正認爲這安裝。但後來我做brew doctor這是響應:

釀造幫助 -bash:BREW:找不到命令

回答

0

以下內容添加到你的shell配置文件(即〜/ .bashrc或者〜/ .zshrc) :

export PATH=/usr/local/bin:/usr/local/sbin:$PATH 

開始一個新的終端會話,事情應該沒問題。