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

Include the prefix /opt/homebrew/bin in the PATH for installations that were performed for arch arm64 #111

Merged

Conversation

claudiofreitas
Copy link
Contributor

I think for some reasons, previous Mac Silicons had the homebrew still installing applications under /usr/local/bin.
When not installed under Rosetta, it will default the location to /opt/homebrew according to the documentation.

ff2mpv was not working for me until I added this change to the PATH.

I am not used to contribute a lot to open source, so let me know if there are any changes that are desired please.

Copy link
Owner

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @claudiofreitas!

Technically we could split this out a bit by checking RbConfig::CONFIG["host_cpu"] as well, but this is also fine.

@woodruffw woodruffw merged commit 8b828f9 into woodruffw:master Nov 30, 2023
8 checks passed
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.

2 participants