Sha256: 35a43850595ce0fe257fb17e5a6a4147b236efd2748af5177f95e9e7af4a9b63

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

require 'bower-rails'
require 'rails'
module BowerRails
  class Railtie < Rails::Railtie
    railtie_name :bower

    config.after_initialize do |app|
      ["lib", "vendor"].each do |dir|
        app.config.assets.paths << Rails.root.join(dir, 'assets', 'components')
      end
    end

    rake_tasks do
      load "tasks/bower.rake"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bower-rails-0.3.3 lib/bower-rails/railtie.rb
bower-rails-0.3.2 lib/bower-rails/railtie.rb
bower-rails-0.3.1 lib/bower-rails/railtie.rb