2011-08-24 73 views
1

我試圖使用自制軟件安裝腳本:自制安裝「參謀班子」錯誤

/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) 

我該如何安裝?我在任何地方閱讀過有關在網絡上使用這個安裝腳本的人,它顯然就像團隊成員一樣工作。

+0

我正在使用OSX 10.7.1,如果這是相關的。 –

+0

另外,我已經爲Lion安裝了XCode。 –

回答