premailer-rails icon indicating copy to clipboard operation
premailer-rails copied to clipboard

Webpack and Sidekiq not sending emails on non-test environments

Open onesneakymofo opened this issue 3 years ago • 0 comments

I am trying to move all of our assets over to Webpacker/Webpack. I have gotten this working locally thanks to #232, but whenever I ship to our staging environment, our Sidekiq fails to deliver our emails.

All of our Sidekiq servers are on separate instances from our web servers. As such, since Sidekiq has no awareness of Webpacker/Webpack, I get the following error when trying to send emails:

ActionView::Template::Error: Webpacker can't find mailer.css in 
/opt/project/public/packs/manifest.json. 

Any guidance is appreciated.

onesneakymofo avatar Aug 06 '21 04:08 onesneakymofo