Recently switched from rvm
to rbenv
on macOS. Everything bundles ok, but when I boot up the app locally and then access the app in the web browser, it throws this error:
ExecJS::RuntimeError
Everything was working ok while I was using rvm
. So I’m wondering if I need to do something special since I’m now using rbenv
?
I’ve searched around and experimented for how to fix this. Most answers are 7+ years old. I’ve seen suggestions of including execjs
as well as therubyracer
within my Gemfile
. I tried including both in my Gemfile, but unfortunately that did not do the trick.