One great thing about Homebrew is that it is very easy to install on macOS by just copy-pasting a command right at the top of Homebrew’s home page. However, this will run into a problem in the future on macOS. As we can read here, Apple has deprecated all scripting languages, and in some future release, it won’t come preinstalled with, among others, Ruby. That means users will first have to manually install Ruby somehow (obviously not via Homebrew) before running the installation command, which is not ideal if we want to make it as friction-less as possible.
I am no Homebrew dev, just a simple user, so I do not know what would be the best solution, hence why I bring this issue here to open the discussion. Hopefully there is something simple to do.