From: "shreejad (Shreeja Datta)" Date: 2022-10-12T02:18:04+00:00 Subject: [ruby-core:110264] [Ruby master Bug#19049] lib/debug.rb in Ruby 3.0.4 fails due to $SAFE not being set Issue #19049 has been reported by shreejad (Shreeja Datta). ---------------------------------------- Bug #19049: lib/debug.rb in Ruby 3.0.4 fails due to $SAFE not being set https://bugs.ruby-lang.org/issues/19049 * Author: shreejad (Shreeja Datta) * Status: Open * Priority: Normal * ruby -v: 3.0.4 * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- Since $SAFE is not a special identifier in Ruby 3.0, lib/debug.rb throws an error as it references to $SAFE which is not set. Code: https://github.com/ruby/ruby/blob/ruby_3_0/lib/debug.rb#L6 Error: lib/ruby/3.0.0/debug.rb:6:in `': undefined method `>' for nil:NilClass (NoMethodError) -- https://bugs.ruby-lang.org/ Unsubscribe: