From: dcermak Date: 2022-02-04T08:15:04+00:00 Subject: [ruby-core:107477] [Ruby master Bug#18570] Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1 Issue #18570 has been reported by dcermak (Dan ��erm��k). ---------------------------------------- Bug #18570: Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1 https://bugs.ruby-lang.org/issues/18570 * Author: dcermak (Dan ��erm��k) * Status: Open * Priority: Normal * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- For some reason the following code causes an exception with Ruby 3.1: ``` ruby require "ipaddr" ([IPAddr.new("192.168.56.0/21").freeze].freeze).any?{ |range| range.include?(IPAddr.new("192.168.1.0")) } ``` which breaks vagrant with Ruby 3.1. The issue has been fixed via commit 77fe1fca0abb56f7f07725c0a3803d53a315c853. Can you please backport it to 3.1 for a maintenance release? -- https://bugs.ruby-lang.org/ Unsubscribe: