Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) Error in Rails 3.1.0 rails s
Installing node.js fixed this for me
go to https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
or run the following commands on your terminal
go to https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
or run the following commands on your terminal
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
Comments
Post a Comment