Skip to content

Rails 4 - rake assets:precompile doesn't compile vendor/assets or gem assets #9294

@balexand

Description

@balexand

To reproduce, put an image file in vendor/assets/images and put a font file in vendor/assets/fonts then run bundle exec rake assets:precompile.

In Rails 3.2.12, the image and font are copied into public/assets with digest in filename. In Rails 4 beta, neither of the assets are copied.

This also applies to assets packaged within gems. For example, with this Font Awesome gem, the font assets are correctly precompiled in Rails 3.2.12, but not in Rails 4 beta.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions