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

Support for M1 installations of brew #39

Open
m4p opened this issue Aug 18, 2021 · 2 comments
Open

Support for M1 installations of brew #39

m4p opened this issue Aug 18, 2021 · 2 comments

Comments

@m4p
Copy link

m4p commented Aug 18, 2021

On Apple Silicon brew installs to /opt/homebrew/bin/brew by default. This causes fetchInstalledVersion() to fail.

@nerdsupremacist
Copy link
Owner

nerdsupremacist commented Aug 18, 2021

Thanks for reporting this. I had no idea. I think we can use CLIKit's ExecutableFinder.find like we do here: https://github.com/nerdsupremacist/Graphaello/blob/develop/Sources/Graphaello/Processing/Pipeline/Component/Preparation/Implementation/BasicApolloProcessInstantiator.swift#L42

Then we don't have to hardcode any path or have special handling for Apple Sillicon

@RolandasRazma
Copy link
Contributor

as a quick workaround:

$ sudo mkdir /usr/local/bin
$ cd /usr/local/bin
$ sudo ln -s /opt/homebrew/bin/brew brew

aleksrutins added a commit to aleksrutins/Graphaello that referenced this issue Apr 16, 2022
aleksrutins added a commit to aleksrutins/Graphaello that referenced this issue Apr 16, 2022
nerdsupremacist added a commit that referenced this issue Jun 27, 2022
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

No branches or pull requests

3 participants