Error when running rails app - ExecJS::RuntimeError

后端 未结 6 802
深忆病人
深忆病人 2020-11-29 11:07

I tried googling this and I haven\'t found an answer yet to my problem.

I am trying to run a simple controller script through rails and it is giving me this error wh

6条回答
  •  执念已碎
    2020-11-29 11:38

    It looks like you might be missing a few gems.

    Add to your Gemfile:

    gem 'therubyracer'
    gem 'execjs'
    

    And then run $ bundle install to install them.

提交回复
热议问题