From 3503c94af501e38164613ef8347174a27346828a Mon Sep 17 00:00:00 2001 From: Marc-Andre Lafortune Date: Thu, 18 Mar 2021 09:44:42 -0400 Subject: [ruby/irb] Avoid loading files' local variables [Bug #17623] https://github.com/ruby/irb/commit/b12f0cb8e2 --- libexec/irb | 1 + 1 file changed, 1 insertion(+) (limited to 'libexec') diff --git a/libexec/irb b/libexec/irb index c64ee85fbd..7cd24482da 100755 --- a/libexec/irb +++ b/libexec/irb @@ -8,4 +8,5 @@ require "irb" +IRB::TOPLEVEL_BINDING = binding IRB.start(__FILE__) -- cgit v1.2.1