I’m writing a Rails gem for my app. In this gem I have a CSS file. And everything works fine. But I want to be able to overload this file in my Rails app. Like this, my App will use the custom version of my CSS file.
Is it possible ?
Thank you in advance!
OK, I found it.
I created a file with the same name in my App, but it also need to be located in a directory with the exact same path.
In my case, I was trying to overload the file in my gem located vendor/assets/stylesheets with a file in app/assets/stylesheets