Incompatible with the current version, ruby 3.0

brew install ruby@2.7

My guide Install Ruby and Bundler · GitHub