Rails, rake does not work

后端 未结 3 1110
执念已碎
执念已碎 2021-02-04 11:43

I\'ve been trying to use Rails and when I use rake, I get this error. Any suggestions on which run time should I use?

ngzhongqin@ngzhongqin-linux:~/RailsProjects         


        
3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-04 12:15

    You need to install runtime for these.. some of the good options are

    therubyracer - Google V8 embedded within Ruby

    therubyrhino - Mozilla Rhino embedded within JRuby

    Johnson - Mozilla SpiderMonkey embedded within Ruby

    Mustang - Mustang V8 embedded within Ruby

    Node.js

    Apple JavaScriptCore - Included with Mac OS X

    Mozilla SpiderMonkey

    Microsoft Windows Script Host (JScript)

    you can find more details at https://github.com/sstephenson/execjs

提交回复
热议问题