LoginSignup
4
2

More than 5 years have passed since last update.

Homebrew must be run under Ruby 2.3! のエラー

Last updated at Posted at 2017-12-01

久しぶりにbrewでパッケージをインストールしようとしたら...

/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)

Homebrew内のrubyのversionが古いって怒られてますね。

homebrewはinstallやtapコマンドの際に自動的にupdateされるようになっているのにどうしてこんなエラーが出るんでしょうか...?
よくわかりませんでした。
誰か教えてください。。。

とりあえず
brewをupdateしてあげましょう。

brew update

これで解決しました!!!

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2