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

brew-src: 4.1.11 -> 4.1.22 #12

Closed
wants to merge 7 commits into from
Closed

brew-src: 4.1.11 -> 4.1.22 #12

wants to merge 7 commits into from

Conversation

gshpychka
Copy link

This PR updates homebrew to 4.1.22.

Now, as you can see from this PR, I tried updating to latest first, which did not work, and then tried a bunch of different version to find the last one that works. That version is 4.1.22.

In Homebrew/brew#16268, they started using portable Ruby, which breaks the build for some reason. Need some guidance on how to fix this. Here is the error:

mkdir: /opt/homebrew/Library/Homebrew/vendor/portable-ruby: Permission denied
/opt/homebrew/Library/Homebrew/brew.sh: line 189: cd: /opt/homebrew/Library/Homebrew/vendor/portable-ruby: No such file or directory
Error: Failed to cd to /opt/homebrew/Library/Homebrew/vendor/portable-ruby!
Error: Failed to install Homebrew Portable Ruby (and your system version is too old)!

@zhaofengli
Copy link
Owner

Hi there! I did the 4.1.22 update a while ago but forgot to push. I added a script to automatically extract the bootstrap from upstream Homebrew so maintenance is easier. Let me push that so we can continue investigating updating to newer versions in this PR.

@gshpychka
Copy link
Author

Hi there! I did the 4.1.22 update a while ago but forgot to push. I added a script to automatically extract the bootstrap from upstream Homebrew so maintenance is easier. Let me push that so we can continue investigating updating to newer versions in this PR.

Hey, nudging you to push that update

@gshpychka
Copy link
Author

Hi there! I did the 4.1.22 update a while ago but forgot to push. I added a script to automatically extract the bootstrap from upstream Homebrew so maintenance is easier. Let me push that so we can continue investigating updating to newer versions in this PR.

Hey, nudging you to push that update

Realized that you pushed it to another branch and didn't open a PR. Should we close this and switch to your branch instead?

@zhaofengli
Copy link
Owner

I updated to 4.2.4 by patching the Ruby vendoring code to use our Nix-managed Ruby instead. Thanks for the PR!

@zhaofengli zhaofengli closed this Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants