Rails3 `autodetect`: Could Not Find a JavaScript Runtime

autodetect: Could not find a JavaScript runtime 是因为他需要nodejs的支持。

安装nodejs

Terminal
1
2
3
4
$ git clone git://github.com/ry/node.git
$ cd node
$ ./configure
$ make && sudo make install

Terminal
1
\curl -L https://raw.github.com/cgg5207/linux_sh/master/install_notejs.sh|bash
原文地址:http://dlj.bz/EvHuyq

Comments