1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
mentioned about OS X and windows usually having a JS runtime
This commit is contained in:
Vijay Dev 2011-11-26 19:06:53 +05:30
parent c4af5f00f6
commit 5c2a2ee76e

View file

@ -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