I'd like to install several versions of Ruby (or really any Homebrew package) without linking any of them. Basically, I'd like to treat any formula as keg-only.
I can't seem to find a way to do this, although it seems trivial. I thought there'd be something like
brew install --no-link <formula>.
Is there a way to do what I want, or some reason why this is a bad idea?
I'd really like to use Homebrew to install Ruby versions, and rbenv to manage them.