diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2012-01-13 10:51:53 -0500 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-16 22:07:27 +0530 |
commit | 30782e443e6fd93bca18624433e31a16988eb3ed (patch) | |
tree | 46d6536ccc73dd53aeb439f864c2407b219b86ca | |
parent | 3430647434a94226a3fbed4587ef3b4bea7fe6f9 (diff) | |
download | rails-30782e443e6fd93bca18624433e31a16988eb3ed.tar.gz rails-30782e443e6fd93bca18624433e31a16988eb3ed.tar.bz2 rails-30782e443e6fd93bca18624433e31a16988eb3ed.zip |
Getting Started Guide: Update reference about JavaScript runtimes
-rw-r--r-- | railties/guides/source/getting_started.textile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index c986b2edce..fb85a22b5e 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -450,7 +450,13 @@ start a web server on your development machine. You can do this by running: $ rails server </shell> -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. +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+ gem is +added commented to Gemfile for new apps and you can uncomment if you need it. ++therubyrhino+ is the recommended runtime for JRuby users and is added by default +to Gemfile in apps generated under JRuby. You can investigate about all the +supported runtimes at "ExecJS":https://github.com/sstephenson/execjs#readme. 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 |