diff options
author | Aditya Kapoor <aditya.kapoor@vinsol.com> | 2014-08-03 10:13:38 +0530 |
---|---|---|
committer | Aditya Kapoor <aditya.kapoor@vinsol.com> | 2014-08-03 10:13:38 +0530 |
commit | 1f72ab3addd6ba9bd4508d2a666c545ec2fda6d9 (patch) | |
tree | e169bbc5f7edf2e91e08cef605cee3961c9146fd | |
parent | da1b8a786cad277c1e4dc1a9f03acec4268dda1f (diff) | |
download | rails-1f72ab3addd6ba9bd4508d2a666c545ec2fda6d9.tar.gz rails-1f72ab3addd6ba9bd4508d2a666c545ec2fda6d9.tar.bz2 rails-1f72ab3addd6ba9bd4508d2a666c545ec2fda6d9.zip |
[ci skip] add tip for uglifier in execjs error
-rw-r--r-- | guides/source/getting_started.md | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index 656d74ef06..6c75edf89d 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -191,14 +191,15 @@ following in the `blog` directory: $ bin/rails server ``` -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. Rails adds the `therubyracer` -gem to the generated `Gemfile` in a commented line 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 the `Gemfile` in apps generated under JRuby. -You can investigate about all the supported runtimes at -[ExecJS](https://github.com/sstephenson/execjs#readme). +TIP: Compiling CoffeeScript and JavaScript asset compression requires you +have a JavaScript runtime available on your system, in the absence +of a runtime you will see an `execjs` error during asset compilation. +Usually Mac OS X and Windows come with a JavaScript runtime installed. +Rails adds the `therubyracer` gem to the generated `Gemfile` in a +commented line 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 the `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 WEBrick, a web server distributed with Ruby by default. To see your application in action, open a browser window and navigate to |