Ubuntuでrails3.1を動かす
/usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.2.8/lib/execjs/runtimes.rb:47:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
from /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.2.8/lib/execjs.rb:5:in `
解決方法
sudo apt-get install nodejs