我正在尝试使用 Homebrew 安装脚本:
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
它不起作用:
This script requires the user <my_username> to be in the staff group. If this
sucks for you then you can install Homebrew in your home directory or however
you please; please refer to the website. If you still want to use this script
the following command should work:
dscl /Local/Default -append /Groups/staff GroupMembership $USER
最后一行也没有,它在使用$USER
我的实际用户名或我的实际用户名运行时返回:
<main> attribute status: eDSPermissionError
<dscl_cmd> DS Error: -14120 (eDSPermissionError)
我应该如何安装这个?我到处读到人们在网络上使用这个安装脚本的消息,它显然工作得像大炮一样。