rails3 `autodetect`: Could not find a JavaScript runtime

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

安装nodejs ```bash Terminal $ git clone git://github.com/ry/node.git $ cd node $ ./configure $ make && sudo make install

或

```bash Terminal
\curl -L https://raw.github.com/cgg5207/linux_sh/master/install_notejs.sh|bash

Comments