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
resolvedmileszs#1109
Since the loading of ostract was dependent on Rake, explicitly load it and resolve the dependency.
Because Rake does not load ostract after version 13.2.0.
rhiroe
added a commit
to rhiroe/wicked_pdf
that referenced
this issue
Apr 18, 2024
wicked_pdf/lib/wicked_pdf.rb
Line 34 in 345b12b
I bump the version of Rake to 13.2.0 and got a NameError at the above point.
Rake uses Struct instead of OpenStruct in version 13.2.0.
ruby/rake#545
It seems that OpenStruct loading is implicitly dependent on Rake.
I suggest adding
require 'ostruct'
or using Struct instead of the deprecated OpenStruct.The text was updated successfully, but these errors were encountered: