From: "jeremyevans0 (Jeremy Evans)" Date: 2022-10-12T03:08:23+00:00 Subject: [ruby-core:110265] [Ruby master Bug#19049] lib/debug.rb in Ruby 3.0.4 fails due to $SAFE not being set Issue #19049 has been updated by jeremyevans0 (Jeremy Evans). Status changed from Open to Closed Backport changed from 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN to 2.7: DONTNEED, 3.0: REQUIRED, 3.1: DONTNEED I submitted a pull request to fix this in Ruby 3.0: https://github.com/ruby/ruby/pull/6528 Closing and marking for backport as debug.rb was removed in Ruby 3.1 in favor of the debug gem. ---------------------------------------- Bug #19049: lib/debug.rb in Ruby 3.0.4 fails due to $SAFE not being set https://bugs.ruby-lang.org/issues/19049#change-99552 * Author: shreejad (Shreeja Datta) * Status: Closed * Priority: Normal * ruby -v: 3.0.4 * Backport: 2.7: DONTNEED, 3.0: REQUIRED, 3.1: DONTNEED ---------------------------------------- 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: