ruby-filemagic icon indicating copy to clipboard operation
ruby-filemagic copied to clipboard

warning: undefining the allocator of T_DATA class FileMagic

Open Lykos opened this issue 1 year ago • 3 comments

I recently updated from Ruby 3.0.2 to 3.3.0 and I started getting the following warning at the line where I call FileMatic.new:

warning: undefining the allocator of T_DATA class FileMagic

I googled it but didn't find anything useful about this error message. Good luck!

Lykos avatar Feb 05 '24 22:02 Lykos

I just found out that #46 seems to fix this.

Lykos avatar Feb 05 '24 22:02 Lykos

I am also encountering this same issue and for #46 it seems there is still some open question whether it is a proper solution. Would be good to see a fix of this.

tomtt avatar Feb 19 '24 14:02 tomtt

@blackwinter is there any chances you merge this MR?

PoroshkinaVV avatar Sep 15 '24 15:09 PoroshkinaVV