Error Installing Homebrew - Brew Command Not Found

后端 未结 7 1123
孤独总比滥情好
孤独总比滥情好 2020-12-24 11:51

I\'ve spent the bulk of my Friday trying to get the latest version of Ruby installed on my new MacBook Air (w/ Mountain Lion installed).

I have all the latest versio

7条回答
  •  有刺的猬
    2020-12-24 12:33

    This was just happening to me, but none of the suggestions above worked. I changed directories ("cd ~/tmp") and suddenly the command

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

    worked for me. Prior to changing directories I had been in a directory that is a Git repository. Perhaps that was interfering with the ruby and Git commands in the Brew install script.

提交回复
热议问题