hercules-team / augeas

A configuration editing tool and API
http://augeas.net/
GNU Lesser General Public License v2.1
486 stars 199 forks source link

ruby-augeas gem produces (harmless?) warning under Ruby 3.2 #831

Closed raybellis closed 6 months ago

raybellis commented 6 months ago

Running Puppet with Ruby 3.2 produces this warning:

/usr/local/lib/ruby/gems/3.2/gems/ruby-augeas-0.5.0/lib/augeas.rb:48: warning: undefining the allocator of T_DATA class Augeas

The root causes appears to be this change in Ruby 3.2.

I'm not enough of a Ruby developer to propose a fix. I've seen numerous other reports of the same warning from other Ruby extensions.

raybellis commented 6 months ago

Ah, already reported in the gem's specific repo:

https://github.com/hercules-team/ruby-augeas/issues/13