I'm using premailer-rails to inline-style emails in a 5.1.6 Rails app.
Everything is working fine in development, but I get this error in production (heroku)
The asset "mailer.css" is not present in the asset pipeline
I have defined a file assets\stylesheets\mailer.css
In the mailer layout I have: <%= stylesheet_link_tag :mailer %>
I have also added this to assets.rb: Rails.application.config.assets.precompile += %w( mailer.css )
How can I fix it?