Closed slhck closed 5 years ago
Thanks for the bug report, Werner. Could you please open this issue at https://github.com/Homebrew/brew? If you have access to macOS, it'd be helpful if you could try to reproduce the issue on macOS. Thanks!
Shaun, please re-read my report:
This does not happen under macOS, therefore creating an issue here.
It works under Homebrew/homebrew-core.
... that said, if this should still be reported under Homebrew, please let me know. Since this works fine under macOS, I think the error is here, specifically.
Ah, sorry, I missed that. Try…
rm -rf $(brew --repo)/Library/Homebrew/vendor/bundle
rm -rf $(brew --repo)/Library/Homebrew/vendor/portable-ruby
brew vendor-install ruby
brew style
That worked, thank you. Any idea what the underlying cause could be?
The Ruby gems get confused, but no, I don't know why.
Homebrew Ruby: 2.5.1 => /usr/bin/ruby2.5
brew vendor-install ruby
install Ruby 2.3.7. My best guess would be a difference between these two versions of Ruby.
I looked at some similar messages from Homebrew-core, and the problem seemed to be caused by Gems being yanked (removed) from RubyGems. Since this is a no-repro and there's a workaround, I'm closing this issue. Thanks for your help!
brew
command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Linuxbrew/homebrew-core: https://github.com/Linuxbrew/homebrew-core/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?What you were trying to do (and why)
What happened (include command output)
What you expected to happen
Brew should install the required dependencies and run audit.
Step-by-step reproduction instructions (by running
brew
commands)brew audit
This does not happen under macOS, therefore creating an issue here.
Environment