Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)

后端 未结 9 1421
甜味超标
甜味超标 2021-01-30 03:58

My website has been broken since Dreamhost upgraded their servers a couple of weeks ago. I have been tearing my hair out trying to get it fixed and made some progress but am stu

9条回答
  •  孤街浪徒
    2021-01-30 04:23

    libv8 is an OS library; you'll need to install the correct Linux system library. If you're running Ubuntu, it's

    sudo apt-get install libv8-dev
    

    Alternatively, you can install node.js which is available as a Debian/Ubuntu package for various distros, e.g. http://ppa.launchpad.net/chris-lea/node.js/ubuntu

    You may save yourself a lot of trouble by deploying on Heroku instead where you don't have to manage the OS or components for gems.

提交回复
热议问题