I generated a page using a controller. But when I go to the localhost:3000/pages/home. I got this error: ExecJS::RuntimeError in Pages#home
How can I fix this? I found a solution here
but I've no idea where to find ExecJS's runtimes.rb file.
I'm using complete package from here: Install Ruby on Rails – Railsinstaller.org -
Any help will be appreciated. thank you.
Here is the full error code: