ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. Seefor a list of available runtimes.
解决办法: 1、ubuntu
sudo apt-get install nodejs
centos/redhat
sudo yum install nodejs
方法2、vim Gemfile
添加:
gem ‘execjs‘
gem ‘therubyracer‘
然后: bundle install
时间: 2024-10-28 17:24:27