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 ruby@2.6.9
or ruby@2.6.10
it is not working.
I get this:
Warning: No available formula with the name "ruby@2.6.10". Did you mean ruby@2.6?
==> Searching for similarly named formulae and casks...
==> Formulae
ruby@2.6 ✔
To install ruby@2.6 ✔, run:
brew install ruby@2.6 ✔
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.