I can install ruby 2.6 from homebrew and I get ruby 2.6.10. How can I install ruby from Homberw with a fixed version? (Major.Minor.patch)
If I try brew install [email protected]
or [email protected]
it is not working.
I get this:
Warning: No available formula with the name "[email protected]". Did you mean [email protected]?
==> Searching for similarly named formulae and casks...
==> Formulae
[email protected] ✔
To install [email protected] ✔, run:
brew install [email protected] ✔
But I want the project to have a fixed ruby version and if that is the case with brew people wouldn't be able to install 2.6.9 anymore or 2.6.10 in the future.
BTW, It must be ruby 2.6 so don't advise upgrading, please.