joao / bowerify

Makes rails assets pipeline to work correctly with bower components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bowerify

A little gem that patches Sprockets in order for it to resolve the bower components relative assets paths correclty.

Can be used with vanilla bower toolchain or in conjunction with the bower-rails gem.

Usage

Add the gem to your Gemfile

gem 'bowerify'

Breath normally.

Bower Components Location

This plugin assumes that you install your bower assets into the lib/assets/components folder. if you need to change that, add this to your config/application.rb

  config.bower_components_path = Rails.root.join("path/to/your/components")

Copyright & License

All code in this repository is released under the terms of the MIT license.

Copyrigth (C) 2014 Nikolay Nemshilov

About

Makes rails assets pipeline to work correctly with bower components


Languages

Language:Ruby 100.0%