rails 3遇到 Could not find a JavaScript runtime execjs錯誤(ubuntu)

執行rails s 時提示:Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.


  1. sudo apt-get install python-software-properties  
  2. sudo add-apt-repository ppa:chris-lea/node.js  
  3. sudo apt-get update  
  4. sudo apt-get install nodejs 


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章