README.md in bower-rails-0.1.3 vs README.md in bower-rails-0.2.1

- old
+ new

@@ -1,17 +1,37 @@ bower-rails =========== rake tasks for bower on rails. Dependency file is bower.json in Rails root dir. +**Requirements** + +* [node](http://nodejs.org) ([on github](https://github.com/joyent/node)) +* [bower](https://github.com/twitter/bow) installed with npm + **Install** + in Gemfile ``` Ruby - gem 'bower-rails' + gem 'bower-rails' ``` -**example config file** +**Initialize** + +To add an empty bower.json file to the project root. + +``` Bash + rails g bower_rails:initialize +``` + + +**Configuration** + +The bower.json file is two seperate bower [component.js](https://github.com/twitter/bower#defining-a-package) files. Defining a package in lib and vendor will install those packages to the corresponding directories. + +**example bower.json file** + ``` javascript { "lib": { "dependencies": { "threex" : "git@github.com:rharriso/threex.git", \ No newline at end of file