Skip to content

Assets with JPEG extensions are compiled or referenced as JPG in 2.3.0 #246

Closed
@remomueller

Description

@remomueller

Hi, I'm running into an issue with sprockets-rails 2.3.0, that does not appear to exist in version 2.2.4 (fixing the version to 2.2.4 in development fixes the issue). Not sure if this is a regression or intended behavior for 2.3.0.

The image is labeled with .jpeg in app/assets/images/myapnea/team/member1.jpeg, however the converted asset seems to be using .jpg which causes the following error to show up on the page in development:

Sprockets::Rails::Helper::AssetAliasUsed at /team
Asset was linked to from an alias rather than its exact path. Alias resolving may not be available in production.
Use "myapnea/team/member1.jpg" instead of "myapnea/team/member1.jpeg"

Thanks!

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