in `autodetect’: Could not find a JavaScript runtime. See https://github.com/sst

方法1:
在gemfile中添加
gem 'execjs'
gem 'therubyracer'

bundle install后即可

方法2:
1. 安装nodejs
sudo apt-get install nodejs

node
gem install node

你可能感兴趣的:(in `autodetect’: Could not find a JavaScript runtime. See https://github.com/sst)