As part of ongoing efforts to migrate a legacy app from Rails 3 to Rails 6, I'm trying to figure out the best way to move forward with assets and whatnot.
I'm struggling with the following issue, when I try to add a specific asset:
<%= image_tag 'images/shared/logos/image.svg' %>
The image is present on:
app/assets/images/shared/logos/image.svg
And yet I get the error I mentioned on the title:
The asset "images/shared/logos/image.svg" is not present in the asset pipeline.
Any advice on how to set up newer Rails to handle assets would be greatly appreciated, I'm a little confused over the whole sprockets vs webpacker thing and I'm trying to figure out what is the best way to move forward.