OSX Homebrew error: uninitialized constant MACOS

后端 未结 5 1513
傲寒
傲寒 2020-12-19 02:26

I\'ve searched around a bit and can\'t seem to find any record of anyone else with this problem.

Whenever I try to run

$ brew update
5条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-19 02:54

    In addition to Matt Korostoff's answer. On point 3 (resetting the repo), for recent version of Homebrew, the repo is no longer /usr/local, do cd "$(brew --repo)" instead.

提交回复
热议问题