-
Notifications
You must be signed in to change notification settings - Fork 390
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
mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e') #529
Comments
Maybe you can find some help / inspiration here: #452 Also, maybe just use homebrew? |
I have try to run
|
@avdv I used the
|
@uduwage you seem to have installed colorls into the system Ruby, try to use the homebrew Ruby instead to run colorls. (I only have a remote idea how everything works on darwin, so I can't really tell you how) Apparently, you may install homebrew on arm64 natively, or in rosetta mode. See https://blog.smittytone.net/2021/02/07/how-to-migrate-to-native-homebrew-on-an-m1-mac/ Depending on what you did, you need to make sure not to mix any of the tools; especially when calling Seems like you have used the x86_64 gem to install colorls (and build the native modules) whereas your system Ruby is arm64 and that's a problem... |
I'm having the same issue, but when running with
|
Description
colorls
command, appeared the following error.colorls
ruby: 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
gem: 3.3.11
OS: macOS 12.3.1 21E258 x86_64
Kernel: 21.4.0
Packages: 1 (brew)
Shell: zsh 5.8
Resolution: 1440x900
DE: Aqua
WM: Quartz Compositor
WM Theme: Green (Dark)
Terminal: iTerm2
Terminal Font: HackNerdFontComplete-Regular 12
CPU: Apple M1
GPU: Apple M1
The text was updated successfully, but these errors were encountered: