我通过\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