Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: cannot load such file -- abstract_command #1336

Closed
bgrzesiak-fetch opened this issue Apr 2, 2024 · 2 comments
Closed

Error: cannot load such file -- abstract_command #1336

bgrzesiak-fetch opened this issue Apr 2, 2024 · 2 comments
Labels

Comments

@bgrzesiak-fetch
Copy link

This change seems to be breaking CI for us. To me, it looks like a circular dependency, though I'm not sure if that's actually causing the failure.

Circular dependency:

  • brew defines abstract_command
  • brew loads homebrew-bundle
  • homebrew-bundle attempts to reach back into brew for abstract_command

Actual error I'm getting:

$ brew "bundle"
==> Tapping homebrew/bundle
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-bundle'...
Tapped 1 command (109 files, 2.3MB).
Error: cannot load such file -- abstract_command
/opt/homebrew/Library/Taps/homebrew/homebrew-bundle/cmd/bundle.rb:3:in `require'
/opt/homebrew/Library/Taps/homebrew/homebrew-bundle/cmd/bundle.rb:3:in `<top (required)>'
/opt/homebrew/Library/Homebrew/extend/kernel.rb:10:in `require'
/opt/homebrew/Library/Homebrew/extend/kernel.rb:10:in `require?'
/opt/homebrew/Library/Homebrew/commands.rb:78:in `external_ruby_v2_cmd_path'
/opt/homebrew/Library/Homebrew/brew.rb:85:in `<main>'
Can't install with Brewfile:  exit status 1
Can't install with Brewfile:  exit status 1

We're using bitrise for CI, and here's the brew-install step that's failing. It hasn't been touched in 10 months.

@SMillerDev
Copy link
Member

What does your brew config say?

@MikeMcQuaid
Copy link
Member

#1335 was just merged which will tell you the solution: you need to run brew update.

@MikeMcQuaid MikeMcQuaid closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants