Issue #3422 has been updated by aef (Alexander E. Fischer). Could the following problem be related to this change? "Including namespace module through RSpec config in Ruby 1.9.3":http://stackoverflow.com/questions/13042298/including-namespace-module-through-rspec-config-in-ruby-1-9-3 If so, wouldn't it be a better idea to revert this? ---------------------------------------- Bug #3422: Object.const_get(:A, false) can access BasicObject::A https://bugs.ruby-lang.org/issues/3422#change-31474 Author: judofyr (Magnus Holm) Status: Closed Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: core Target version: 1.9.3 ruby -v: - =begin From the documentation of Module#const_get(sym, inherit=true): If the constant is not defined or is defined by the ancestors and inherit is false, NameError will be raised. Yet, this works fine: BasicObject::A = 1 Object.const_get(:A, false) # => 1 While I haven't tested it, I believe the attached patch should fix the issue. =end -- http://bugs.ruby-lang.org/