Incompatible with the current version, ruby 3.0

so I installed my ruby via brew following these steps - Jekyll on macOS | Jekyll • Simple, blog-aware, static sites how would you downgrade to 2.7?