Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

nokogiri.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) #3048

Unanswered
adiittriyadi asked this question in General Q&A
Discussion options

Hi guys i facing this issue already try many ways but still happened anyone have idea how to solved this issue?
nokogiri.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
Im running on MacOS Sonoma M1 Pro

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

@adiittriyadi This error message indicates that you're trying to use a nokogiri gem that was compiled for x86_64 architecture (possibly the precompiled native gem). Without more information about how your system got into this state, it's hard to give you advice.

If you're using bundler, what's the output from bundle env?

You must be logged in to vote
1 reply
Comment options

btw im forgot update this question , already solved im just install nokogiri for arm64 hehe arch -arm64 gem install nokogiri -v '1.12.5'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /