diff options
author | Michael Pearson <mipearson@gmail.com> | 2011-11-24 10:33:04 +1100 |
---|---|---|
committer | Michael Pearson <mipearson@gmail.com> | 2011-11-24 10:33:04 +1100 |
commit | 0e7443060b298d080292b18a5888aaf554cce344 (patch) | |
tree | 36e0dcb2ccadb6f51d1d5eb30ad35920391b563f /railties/guides/source | |
parent | 745b7a14377607c5fddb8cd1151d69267095242c (diff) | |
download | rails-0e7443060b298d080292b18a5888aaf554cce344.tar.gz rails-0e7443060b298d080292b18a5888aaf554cce344.tar.bz2 rails-0e7443060b298d080292b18a5888aaf554cce344.zip |
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.
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/getting_started.textile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index fde83ae730..55415dd41b 100644 --- a/railties/guides/source/getting_started.textile +++ b/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 |