A ruby wrapper for Bower.
Add this line to your application's Gemfile:
gem 'ruby-bower'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby-bower
Bower requires an installation of node.js. You could e.g. use the gem 'therubyracer' as described above.
Ruby-bower gives you programmatic access to Bower's API - from Ruby. You can pass in objects to commands as regular objects:
bower = Bower.new
bower.list sources: true
See the Bower repository or $ bower help
for usage information on Bower's commands.
Bower.commands
reveals all supported Bower commands. Currently, that's only the list
command. Further implementations and ideas for this tool are heartily encouraged!
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Spec your changes using RSpec
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Test your changes
- Create new Pull Request