Skip to content

Can't override bower_components_path #2

Description

@SergeyKishenin

I have config.bower_components_path = Rails.root.join('vendor', 'assets', 'components') in application.rb, but there is no success:

$ rails c
2.1.1 :001 > Rails.application.config.bower_components_path
 => #<Pathname:/home/sergey/src/bowerify-test/lib/assets/components>

Moving

app.config.bower_components_path = Rails.root.join('lib', 'assets', 'components')
app.config.assets.paths << app.config.bower_components_path

from bowerify/railtie.rb to application.rb with custom path solved this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions