Error when running rails app - ExecJS::RuntimeError

后端 未结 6 809
深忆病人
深忆病人 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:41

    It happened to me too! You need to install "nodejs". As I work with Ubuntu Linux I did:

    apt-get install nodejs 
    

    Source: http://forums.pragprog.com/forums/148/topics/9665#posts-26576 (Sam Ruby's post)

提交回复
热议问题