Closed loqimean closed 10 months ago
I second that. Must be a very recent change.
image.jpeg gets compiled to image.jpg
and then image_tag("image.jpeg")
throws and error, but only in product (just the way we love it, error only in production :-)
Reverting, i would suggest even yanking
I think this is fixed in #781 released in 4.2.1
Expected behavior
hello.jpeg
is founded ashello.jpg
OR compiled as it is:hello.jpeg
Actual behavior
Instead of this Sprockets on production compiles my file called
hello.jpeg
to filehello.jpg
and because of it I have an error on my production where I have the next chunk of code:image_path("hello.jpeg")
, because of file are stored with .jpeg extension, but compiled as .jpgSystem configuration
Example App (Reproduction)
Will be added soon