README.md in bower-rails-0.11.0 vs README.md in bower-rails-0.12.0
- old
+ new
@@ -27,16 +27,16 @@
**Install**
in Gemfile
```ruby
- gem "bower-rails", "~> 0.10.0"
+ gem "bower-rails", "~> 0.11.0"
```
## JSON configuration
-Bower-rails now supports the standard [bower package](http://bower.io/docs/creating-packages/#specification) format out-of-the-box. Simply place your bower.json file the Rails root directory to start. Using the standard format will default all bower components to be installed under the `vendor` directory.
+Bower-rails now supports the standard [bower package](http://bower.io/docs/creating-packages/#specification) format out-of-the-box. Simply place your bower.json file inside the Rails root directory to start. Using the standard format will default all bower components to be installed under the `vendor` directory.
To install dependencies into both `lib` and `vendor` directories, run the initializer to generate a custom bower.json:
```bash
rails g bower_rails:initialize json
@@ -183,10 +183,12 @@
"jasmine-sinon": "latest",
"jasmine-matchers": "latest"
}
}
```
-NOTE: Available dependency groups are `:dependencies` (default) and `:dev_dependencies`. Others are not allowed according to the Rails convention.
+NOTE:
+* Available dependency groups are `:dependencies` (default) and `:dev_dependencies`. Others are not allowed according to the Rails convention.
+* In order to install assets on the `:dev_dependencies` group please run `RAILS_ENV=development rake bower:install`.
## Bower Resolutions
To specify a [bower resolution][] use `resolution` DSL method in your Bowerfile: