Add step to getting_started to install JS Runtime.

abstrakt on #rubyonrails found that the guide, when followed step by step,
does fails at the 'rails server' command due to a lacking JS runtime.
This commit is contained in:
Michael Pearson 2011-11-24 10:33:04 +11:00
parent 745b7a1437
commit 0e7443060b

@ -250,6 +250,18 @@ $ rails --version
If it says something like "Rails 3.1.1" you are ready to continue.
h5. Installing a JavaScript Runtime
By default, Rails requires a JavaScript interpreter to compile CoffeeScript to JavaScript.
You can install one by running:
<shell>
# gem install therubyracer
</shell>
Or investigate the list of alternatives give by "ExecJS":https://github.com/sstephenson/execjs.
h4. Creating the Blog Application
To begin, open a terminal, navigate to a folder where you have rights to create