Just for the record, there's a bug in Ruby core tracker for this: https://bugs.ruby-lang.org/issues/6864