Javascript runtime error on running app
已回答
I have been using rvm , ruby and rails on my ubuntu 18 machine without any problems. i installed a fresh copy of rubymine 2018 and interestingly on launching a project in rubymine I get the "Could not find a JavaScript runtime" error. I do have node and npm installed and the project launches fine on terminal on $ rails s
Including a snap here:

请先登录再写评论。
Hello,
How does it go in case you add therubyracer gem to the Gemfile?
No change in result. However, if I launch rubymine from the terminal then I do not get the error and app launches from the green run button fine.
Olga Kuvardina, I'm having the same issue.
It worked when I installed the "therubyracer" gem, but it should be working without installing this gem, right? Because I can run what I want in the terminal without having this problem or installing gems.
That problem looks similar to the following one: https://youtrack.jetbrains.com/issue/IDEABKL-7589 so could you please check the workarounds proposed there