I think what they'll have to do is bundle the interpreter along with homebrew. Either that, or they'll have to rewrite the homebrew installer (not the entire cli) in a different language.
The Linux version of Homebrew already downloads Ruby when it needs to, so they'll probably enable that functionality in the macOS version
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.