Could not find a JavaScript runtime

$ bundle exec rake db:migrate
rake aborted!
Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.

(See full trace by running task with --trace)

 

推荐下面的网址

https://github.com/joyent/node/wiki/installing-node.js-via-package-manager

$curl -sL https://rpm.nodesource.com/setup | bash -

$yum install -y nodejs

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。