diff options
author | Zachary Scott <e@zzak.io> | 2014-08-02 23:10:34 -0700 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-08-02 23:10:34 -0700 |
commit | cadc8a0dfce85a10fecb3c366f8d847c189c36da (patch) | |
tree | f1c661e9216ebb476bb5bc402909d72f90b694da /guides | |
parent | 8188b33cdee635870d71c780991c0e42a2d51431 (diff) | |
parent | 1f72ab3addd6ba9bd4508d2a666c545ec2fda6d9 (diff) | |
download | rails-cadc8a0dfce85a10fecb3c366f8d847c189c36da.tar.gz rails-cadc8a0dfce85a10fecb3c366f8d847c189c36da.tar.bz2 rails-cadc8a0dfce85a10fecb3c366f8d847c189c36da.zip |
Merge pull request #16306 from aditya-kapoor/add-docs-for-uglifier
[ci skip] add tip for uglifier in execjs error
Diffstat (limited to 'guides')
-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 32d4a9c9dd..94711b0a5d 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 |