Skip to content

brew: use the wrong brew binary when tow architectures installed in M1 #1701

@sfwn

Description

@sfwn

Extension – brew

Author: @nhojb

Description

brew commands failed to execute if you have installed of both two architectures:

  • /usr/local/Homebrew/bin/brew
  • /opt/homebrew/bin/brew

It works on terminal correctly,
image

But broken on raycast,
image

I have set PATH via ~/.profile,
image

Steps To Reproduce

  1. install two archs brew via https://docs.brew.sh/Installation#alternative-installs
  2. set PATH correctly
  3. tested in terminal and works fine
  4. tested in raycast and failed

The current behavior

use intel arch and work failed.

The expected behavior

use arm arch.

Raycast version

Version: 1.34.1
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to one of the extensions in the Store

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions