After freshly installation of Ubuntu, Ruby 1.9.3 and Rails 3.2.19, am unable to start the rails server, I get this error:
/var/lib/gems/1.9.1/gems/execjs-2.2.1/lib/execjs/runtimes.rb:51:in `autodetect':
Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
from /var/lib/gems/1.9.1/gems/execjs-2.2.2/lib/execjs.rb:5:in `<module:ExecJS>'
from /var/lib/gems/1.9.1/gems/execjs-2.2.2/lib/execjs.rb:4:in `<top (required)>'
from /var/lib/gems/1.9.1/gems/coffee-script-2.3.0/lib/coffee_script.rb:1:in `require'
My environment details:
OS: Ubuntu 12.04 LTS
Ruby: 1.9.3-p551
Rails: 3.2.19
Browser: firefox 33.0