我通過\curl -L https://get.rvm.io | bash -s stable
安裝紅寶石,做rvm install 1.9.2
這樣創建和錯誤紅寶石錯誤家釀卸載MacPorts的
Installing requirements for osx, might require sudo password.
fatal: Unable to create '/usr/local/.git/index.lock': Permission denied
Error: Failure while executing: git checkout -q master
Failed to update Homebrew, follow instructions here:
https://github.com/mxcl/homebrew/wiki/Common-Issues and make sure `brew update` works before continuing.
在做which git
這表明它安裝在/usr/bin/git
耶自制一直試圖引用/usr/local/.git
。我嘗試了unistalling homebrew,所以我可以使用homebrew gist列出的內容進行全新安裝。一切似乎都很好,但做一個which brew
仍然顯示它爲/usr/local/bin/brew
,所以我試圖通過一個接一個地手動卸載它。
有一點要注意的是,我從來沒有一個酒窖文件夾,爲什麼我不知道。在做brew prune
的同時,我注意到很多macport項目開始問我是否應該重寫它們。
這是典型的運行卸載腳本,但仍然有可用的brew命令或目錄?
爲什麼自制軟件需要root訪問/user/local/
才能工作,這是非常糟糕的。
echo $ GIT_DIR給你什麼? – 2013-04-30 02:15:41