Add quick troubleshooting docs for 'Could not find a JavaScript runtime.'

Fixes #2327.
This commit is contained in:
Parker Moore 2014-08-01 14:20:29 -04:00
parent 1c8ae63ec3
commit 99f99169a4
1 changed files with 7 additions and 0 deletions

View File

@ -60,6 +60,13 @@ sudo emerge -av dev-ruby/rubygems
On Windows, you may need to install [RubyInstaller
DevKit](https://wiki.github.com/oneclick/rubyinstaller/development-kit).
### Could not find a JavaScript runtime. (ExecJS::RuntimeUnavailable)
This error can occur during the installation of `jekyll-coffeescript` when
you don't have a proper JavaScript runtime. To solve this, either install
`execjs` and `therubyracer` gems, or install `nodejs`. Check out
[issue #2327](https://github.com/jekyll/jekyll/issues/2327) for more info.
## Problems running Jekyll
On Debian or Ubuntu, you may need to add `/var/lib/gems/1.8/bin/` to your path