An error occurred while installing capybara-webkit (0.14.2)

```bash bundle install Installing capybara-webkit (0.14.2) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/xxx/.rvm/rubies/ruby-1.9....


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 或 ...