diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-26 19:06:53 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-26 19:07:36 +0530 |
commit | 5c2a2ee76e2af591a997b71eec0e35143c07f9e1 (patch) | |
tree | ae68ba885fabd8c4cba99eb78c5bb126c6af8e07 /railties/guides | |
parent | c4af5f00f602b9e1c3166872902265836daf321b (diff) | |
download | rails-5c2a2ee76e2af591a997b71eec0e35143c07f9e1.tar.gz rails-5c2a2ee76e2af591a997b71eec0e35143c07f9e1.tar.bz2 rails-5c2a2ee76e2af591a997b71eec0e35143c07f9e1.zip |
rephrased ef38c3089e1269e2b315aff503e61c0b23c95f00 and
mentioned about OS X and windows usually having a JS runtime
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/getting_started.textile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index 5774eba5ae..ca6a404212 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -450,11 +450,7 @@ start a web server on your development machine. You can do this by running: $ rails server </shell> -TIP: Some environments require that you install a JavaScript runtime to compile -CoffeeScript to JavaScript and will give you an +execjs+ error the first time -you run +rails server+. +therubyracer+ and +therubyrhino+ are commonly used -runtimes for Ruby and JRuby respectively. You can also investigate a list -of runtimes at "ExecJS":https://github.com/sstephenson/execjs. +TIP: Compiling CoffeeScript to JavaScript requires a JavaScript runtime and the absence of a runtime will give you an +execjs+ error. Usually Mac OS X and Windows come with a JavaScript runtime installed. +therubyracer+ and +therubyrhino+ are the commonly used runtimes for Ruby and JRuby respectively. You can also investigate a list of runtimes at "ExecJS":https://github.com/sstephenson/execjs. This will fire up an instance of the WEBrick web server by default (Rails can also use several other web servers). To see your application in action, open a |