iugo / blog

http://vows.cn/blog
3 stars 0 forks source link

brew install ... 时遇到了 Homebrew must be run under Ruby 2.3! You're running 2.0.0. (RuntimeError) 问题 #18

Open iugo opened 7 years ago

iugo commented 7 years ago

OS: macOS Sierra

/usr/local/Homebrew/Library/Homebrew/brew.rb:12:in `<main>':
Homebrew must be run under Ruby 2.3! You're running 2.0.0. (RuntimeError)

https://github.com/travis-ci/travis-ci/issues/8552#issuecomment-335430374

Homebrew 使用了 portable-ruby, 应该不存在 Runtime Error. 原因在没有执行 brew update 之前执行了 brew install.

很久没用过 brew, 然后通过 brew install 安装的时候遇到问题.