You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The v2.7.0 of wicked_pdf seems not to be fully incompatible with Rails 7.
Rails 7.0 makes Sprockets an optional dependency. We don't use Sprockets in our Rails 7.1 app and updating wicked_pdf to v2.7.0 make us a bit of trouble.
There is a addition to WickedPdf::WickedPdfHelper::Assets#read_asset that makes the difference: asset = find_asset(source)
Downgrading wicked_pdf back to v2.6.3 restored the functionality.
The text was updated successfully, but these errors were encountered:
Our Rails 7.1 application just experienced the same constant error when dependabot updated our application to v2.8.0 from v.2.7.0. We are not using sprockets either.
fblupi
added a commit
to AjuntamentdeBarcelona/decidim-barcelona
that referenced
this issue
Mar 21, 2024
The v2.7.0 of wicked_pdf seems not to be fully incompatible with Rails 7.
Rails 7.0 makes Sprockets an optional dependency. We don't use Sprockets in our Rails 7.1 app and updating wicked_pdf to v2.7.0 make us a bit of trouble.
There is a addition to WickedPdf::WickedPdfHelper::Assets#read_asset that makes the difference:
asset = find_asset(source)
Downgrading wicked_pdf back to v2.6.3 restored the functionality.
The text was updated successfully, but these errors were encountered: