Closed antmachine closed 1 year ago
Hey @antmachine,
I don't think there is a general problem. I'm on Ventura with an M1 and it works fine.
Can you first check the troubleshooting section of the README? https://github.com/rubyjs/mini_racer/#troubleshooting
Also, please provide us with your Gemfile.lock
(and your exact Ruby and bundler versions). Reading your description, it looks like you're using libv8-node (16.10.0.0-arm64-darwin)
(note the arm64-darwin
vs x86_64-darwin-X
).
Figured it out. I needed to run bundle lock --add-platform arm64-darwin-22
No idea how it's take us this long to figure it out. Thank you @tisba ! 🎉
After upgrading to MacOS Ventura on my M1 machine, I'm getting errors. I think bundler is resolving dependencies to the wrong libv8-node.
I can
gem install libv8-node
successfully andgem install mini_racer
successfullymini_racer
is in my Gemfile, butlibv8-node
is notbundle install
returnsAn error occurred while installing libv8-node (16.10.0.0), and Bundler cannot continue.
bundle info libv8-node
returns