Can't start Rails Server - Could not find a JavaScript runtime

后端 未结 2 537
小蘑菇
小蘑菇 2021-01-22 18:59
pallav@pallav-System-Product-Name:~/Workspace/blog$ rails server

/home/pallav/.rvm/gems/ruby-2.0.0-p353/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in `autodetect\': Co         


        
2条回答
  •  广开言路
    2021-01-22 19:56

    You need a Javascript runtime installed, like Node.js for example:

    $ sudo apt-get install nodejs
    

提交回复
热议问题