Skip to content

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

Closed

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

Activity

  1. added
    bug
    extension
    on May 15, 2022
  2. stale commented on Jul 6, 2022

    @stale

    This issue/pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 7 days to keep our backlog clean. Thanks for your contributions.

  3. added
    wontfix
    on Jul 6, 2022
  4. PKizzle commented on Jul 9, 2022

    @PKizzle

    I have the exact same issue when trying to upgrade a formula. It would be additonally nice to be able to seamlessly switch between the x86 and arm version of brew.

  5. removed
    wontfix
    on Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextension

    Type

    No type

    Fields

    Priority

    None yet

    Severity

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions