According to https://rubygems.org/gems/date, 'date' supported ruby version was >=2.4.
However date_core.c refers RB_WARN_CATEGORY_DEPRECATED introduced by Ruby 3.
I wonder if you could check RB_WARN_* in the build process or #Ifndef or anything.
Thanks.