Skip to content
Browse files

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.
  • Loading branch information...
1 parent 745b7a1 commit 0e7443060b298d080292b18a5888aaf554cce344 @mipearson mipearson committed Nov 24, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 railties/guides/source/getting_started.textile
View
12 railties/guides/source/getting_started.textile
@@ -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

0 comments on commit 0e74430

Please sign in to comment.
Something went wrong with that request. Please try again.