Gem therubyracer 0.12.3 install error in ruby 3.1.2

622 views Asked by At

I have upgraded ruby to 3.1.2 and while doing 'bundle update' therubyracer gem install error is happening. I have tried with few options available online like installing with [email protected] and libv8 but nothing works. Please somebody help me how to resolve this, I'm using macOS 12 monterey

When i followed these steps,

brew install [email protected]

gem install libv8 -v '3.16.14.19' -- --with-system-v8

gem install therubyracer -- --with-v8-dir=/usr/local/opt/[email protected]

Last step got me this error

enter image description here

1

There are 1 answers

0
Baran Yeni On

If you are using Apple Silicon device, you can switch to miniracer gem