redcarpet throwing error on mac m1 #1782
Unanswered
aqureshi43
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been following the instructions on how to setup the slate server locally on my m1 mbp. But when running bundle exec middleman server i get this error,
dlopen(/opt/homebrew/lib/ruby/gems/2.7.0/gems/redcarpet-3.6.0/lib/redcarpet.bundle, 0x0009): tried: '/opt/homebrew/lib/ruby/gems/2.7.0/gems/redcarpet-3.6.0/lib/redcarpet.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/ruby/gems/2.7.0/gems/redcarpet-3.6.0/lib/redcarpet.bundle' (no such file), '/opt/homebrew/lib/ruby/gems/2.7.0/gems/redcarpet-3.6.0/lib/redcarpet.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) - /opt/homebrew/lib/ruby/gems/2.7.0/gems/redcarpet-3.6.0/lib/redcarpet.bundle (LoadError)
so from the looks of it, the redcarpet parser cannot be run on an m1. I tried running my terminal using "rosetta2" from its properties, while that normally would work in this case it does not. I've also tried to install different versions of ruby, running on ruby 3.2, 3.0 and i get this error. Does anyone have a work around or fix please help!
Beta Was this translation helpful? Give feedback.
All reactions