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

dev-cmd: disable when broken on Apple Silicon. #10375

Merged
merged 1 commit into from Jan 21, 2021

Conversation

MikeMcQuaid
Copy link
Member

This is better than users getting a weird error.

Partially addresses #10210

This is better than users getting a weird error.
@BrewTestBot
Copy link
Member

Review period will end on 2021-01-21 at 14:08:38 UTC.

@BrewTestBot BrewTestBot added the waiting for feedback Merging is blocked until sufficient time has passed for review label Jan 20, 2021
@MikeMcQuaid MikeMcQuaid added the critical Critical change which should be shipped as soon as possible. label Jan 20, 2021
@BrewTestBot BrewTestBot removed the waiting for feedback Merging is blocked until sufficient time has passed for review label Jan 20, 2021
@BrewTestBot
Copy link
Member

Review period skipped due to critical label.

EOS

named_args :none
end
end

def install_bundler_gems
# TODO: update description above if removing this.
raise UsageError, "not (yet) working on Apple Silicon!" if Hardware::CPU.arm?
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we can allow this command but block the commands we know don't work? Using the system ruby, install-bundler-gems does install gems, it's just that some don't work.

Copy link
Member

@dtrodrigues dtrodrigues left a comment

Choose a reason for hiding this comment

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

Overall I like this but maybe we can allow the command I commented on. Then again, it doesn't matter too much until we decide on a path forward overall for how to run these developer commands on Apple Silicon, so up to you if you want to change it or not.

@MikeMcQuaid MikeMcQuaid merged commit 7360880 into Homebrew:master Jan 21, 2021
@MikeMcQuaid MikeMcQuaid deleted the dev-cmd-arm branch January 21, 2021 09:01
@MikeMcQuaid
Copy link
Member Author

Thanks @dtrodrigues! I reckon it's worth keeping this minimal for now until we've figured out fixes.

@carlocab
Copy link
Member

carlocab commented Jan 21, 2021

@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Feb 21, 2021
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Feb 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants