rails3 `autodetect`: Could not find a JavaScript runtime

Posted

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

此文章 短链接: http://dlj.bz/u52Gze