How to get Ruby / Homebrew / RVM to work on Yosemite?

前端 未结 11 1846
自闭症患者
自闭症患者 2020-11-30 19:32

After installing Yosemite, I was unable to run brew or ruby.

I was getting this error on brew update:

/usr/local/bin/brew: /usr/local/Library/brew.r         


        
11条回答
  •  执笔经年
    2020-11-30 19:42

    brew update error can be fixed with this:

    sudo chown -R $USER:admin /usr/local
    cd /usr/local
    git reset --hard origin/master
    brew update
    

    https://github.com/Homebrew/homebrew/issues/19140

提交回复
热议问题