自制安装工作,但酿造不工作OSX 10.8.5

时间:2013-10-14 16:21:30

标签: installation osx-mountain-lion homebrew

我知道这不是我每天都做的事情。但是,这真的很奇怪。我使用:ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

安装了Homebrew

我实际得到了这个回复:

> ==> 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:命令未找到

1 个答案:

答案 0 :(得分:0)

将以下内容添加到shell配置文件中(即〜/ .bashrc或〜/ .zshrc):

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

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