Closed P4sca1 closed 3 months ago
i'm not able to reproduce this on a fresh install. is there anything else about your local setup that would help diagnose this?
failing this, you may want to try a reinstall of Homebrew in case something has gone astray there.
@P4sca1 Hi! I had a same problem on homebrew version 4.3.9-329-g61f5e2b
and when I downgraded homebrew(to 4.3.0
), this issue disappeared. I don't know what makes this error but if you need quick workaround, it would work.
The way to downgrade homebrew: https://www.phind.com/search?cache=o3chmif13bdstds44r6qqsye
I upgraded homebrew to 4.3.10
and ran brew bundle
again. It is now working as expected again. It also automatically downloaded a new version of homebrew-bundle
, so I am not sure which update resolved the issue.
I see this issue on HEAD, downgrading to 4.3.10 fixes it
@johng I'm on HEAD
on both and don't see this on either. Try to run brew update
.
From a clean brew installation I run into it.
β tmp git clone https://github.com/Homebrew/brew.git brew
β tmp ./brew/bin/brew bundle
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:1e64d7393d6bed090ebd892514457a10a2066682693eaade7d4a25568fa35312
Already downloaded: /Users/jgriffith43/Library/Caches/Homebrew/portable-ruby-3.3.4.arm64_big_sur.bottle.tar.gz
==> Pouring portable-ruby-3.3.4.arm64_big_sur.bottle.tar.gz
Error: private method `system' called for module Homebrew
/Users/jgriffith43/tmp/brew/Library/Homebrew/extend/kernel.rb:267:in `safe_system'
/Users/jgriffith43/tmp/brew/Library/Homebrew/brew.rb:139:in `block in <main>'
/Users/jgriffith43/tmp/brew/Library/Homebrew/extend/kernel.rb:530:in `with_env'
/Users/jgriffith43/tmp/brew/Library/Homebrew/brew.rb:128:in `<main>'
Do not report this issue: you are running in an unsupported configuration.
Also have seen this on our CI and had to pin to 4.3.10
Apologies @johng, still can't reproduce this locally but will try with your instructions when I get a bit.
I'm getting an error about curl
when I follow @johng's steps:
β°β ./brew/bin/brew bundle
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:1e64d7393d6bed090ebd892514457a10a2066682693eaade7d4a25568fa35312
############################################################################################################################################################################################################### 100.0%
==> Pouring portable-ruby-3.3.4.arm64_big_sur.bottle.tar.gz
Error: 'curl' must be installed and in your PATH!
Error: private method `system' called for module Homebrew
/Users/patrick/Downloads/brew/Library/Homebrew/extend/kernel.rb:267:in `safe_system'
/Users/patrick/Downloads/brew/Library/Homebrew/brew.rb:139:in `block in <main>'
/Users/patrick/Downloads/brew/Library/Homebrew/extend/kernel.rb:530:in `with_env'
/Users/patrick/Downloads/brew/Library/Homebrew/brew.rb:128:in `<main>'
Do not report this issue: you are running in an unsupported configuration.
Thanks!
On Fri, 26 Jul 2024 at 21:02, Mike McQuaid @.***> wrote:
Closed #1413 https://github.com/Homebrew/homebrew-bundle/issues/1413 as completed via Homebrew/brew#17879 https://github.com/Homebrew/brew/pull/17879.
β Reply to this email directly, view it on GitHub https://github.com/Homebrew/homebrew-bundle/issues/1413#event-13664835257, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUQFJBR5PNE44J3KN5VVO3ZOKML5AVCNFSM6AAAAABLCVCOQSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGY3DIOBTGUZDKNY . You are receiving this because you were mentioned.Message ID: @.***>
brew config
Verification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Installing multiple packages using
brew bundle
What happened (include all command output)?
What did you expect to happen?
The install should succeed.
Step-by-step reproduction instructions (by running
brew
commands)