https://github.com/travis-ci/travis-ci/issues/8552
TravisCI MacOS Error:
/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)
Run brew update before any brew install will fix this error.
Thanks, worked for me. Had same error as OP.
crap, that's worked for me, thanks buddy
Most helpful comment
Run
brew updatebefore anybrew installwill fix this error.