2013-10-14 75 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 

开始一个新的终端会话,事情应该没问题。