Current Rails App is having ruby 3.0.0
and trying to upgrade to ruby 3.1.0
.
It’s breaking with uninitialised constant Time::RFC2822_DAY_NAME
error where it was previously working properly.
As per code base, that line is calculating time with gem business_time
along with Time.zone.now
And, there isn’t any constant with name – Time::RFC2822_DAY_NAME
Please suggest.
Tried to search it but still looking for working solution.
Thanks.