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

Unknown architecture: aarch64 #267

Closed
GreatOmm opened this issue Apr 20, 2022 · 1 comment
Closed

Unknown architecture: aarch64 #267

GreatOmm opened this issue Apr 20, 2022 · 1 comment

Comments

@GreatOmm
Copy link

GreatOmm commented Apr 20, 2022

Hi!
During an installation of an application package which does depend on Ruby Gems I got an error

…/lefthook:12:in `<main>': Unknown architecture: aarch64 (RuntimeError)

I use lefthook-0.7.7 in a Parallels VM running Ubuntu on an ARM based Mac.
The solution was an additional line

when /aarch64/ then "arm64" # Linux ARM in Parallels

so that "aarch64" is also recognized as ARM architecture.

After this change my software did run. So please add also support for this ARM architecture. See differences-between-arm64-and-aarch64 for details.

mrexox added a commit that referenced this issue Jun 14, 2022
@mrexox
Copy link
Member

mrexox commented Jun 25, 2022

Hey! With the latest lefthook (> 1.0) this should be fixed.

@mrexox mrexox closed this as completed Aug 11, 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

2 participants