You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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