Javascript runtime error on running app

Answered

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:

 

2 comments

Hello,

How does it go in case you add therubyracer gem to the Gemfile?

0

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. 

0

Please sign in to leave a comment.