mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix typos in asset_pipeline.md
This commit is contained in:
parent
6a75f127a5
commit
f7d825d778
1 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ gem 'coffee-rails'
|
|||
```
|
||||
|
||||
Using the `--skip-sprockets` option will prevent Rails 4 from adding
|
||||
`sass-rails` and `uglifier` to Gemfile, so if you later want to enable
|
||||
`sass-rails` and `uglifier` to your Gemfile, so if you later want to enable
|
||||
the asset pipeline you will have to add those gems to your Gemfile. Also,
|
||||
creating an application with the `--skip-sprockets` option will generate
|
||||
a slightly different `config/application.rb` file, with a require statement
|
||||
|
@ -66,7 +66,7 @@ config.assets.js_compressor = :uglifier
|
|||
```
|
||||
|
||||
NOTE: The `sass-rails` gem is automatically used for CSS compression if included
|
||||
in Gemfile and no `config.assets.css_compressor` option is set.
|
||||
in the Gemfile and no `config.assets.css_compressor` option is set.
|
||||
|
||||
|
||||
### Main Features
|
||||
|
@ -1300,7 +1300,7 @@ Rails 4 no longer sets default config values for Sprockets in `test.rb`, so
|
|||
environment are: `config.assets.compile = true`, `config.assets.compress = false`,
|
||||
`config.assets.debug = false` and `config.assets.digest = false`.
|
||||
|
||||
The following should also be added to `Gemfile`:
|
||||
The following should also be added to your `Gemfile`:
|
||||
|
||||
```ruby
|
||||
gem 'sass-rails', "~> 3.2.3"
|
||||
|
|
Loading…
Reference in a new issue