Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

AssetsError on Rails 4.1 #36

Closed
Closed
@denisw

Description

@denisw

Trying to use this gem with Rails 4.1 yields this error:

Asset filtered out and will not be served: add `Rails.application.config.assets.precompile += %w( jquery-mobile/icons-png/action-white.png )` to `config/initializers/assets.rb` and restart your server

This is because Sprokets now does additional sanity checks to make sure that the assets configuration works with precompiled assets in production; see rails/sprockets-rails#84. For this reason, the jquery_mobile_rails gem should probably make sure that all of its assets are listed in Rails.application.config.assets.precompile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions