提交 9864bcee 编写于 作者: K Kasper Timm Hansen

Merge pull request #23281 from djoume/patch-1

Fix small typos in asset_pipeline.md
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册