I'm new to mac and I am trying to install mini_racer. and I get the error
clang: error: no such file or directory: '/Library/Ruby/Gems/2.6.0/gems/libv8-node-16.10.0.0-arm64-darwin/vendor/v8/universal-darwin/libv8/obj/libv8_monolith.a'
I searched online and found this site which says
bundle lock --add-platform <your-platform>
will fix the problem. Im not sure how to do that for my m2 MacBook air.
I tried this but it did not work.
bundle lock --add-platform m2
Any help would be greatly appreciated!!
Also, I installed libv8-node using gem install libv8-node -v '16.10.0.0'