Rashmi Balkur
Rashmi Balkur

Reputation: 337

Gem therubyracer 0.12.3 install error in ruby 3.1.2

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

Upvotes: 2

Views: 729

Answers (1)

Baran Yeni
Baran Yeni

Reputation: 313

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

Upvotes: 1

Related Questions