Bug #1306: exception when exiting from IRB if test/unit is loaded
http://redmine.ruby-lang.org/issues/show/1306

Author: Dmitry Vazhov
Status: Open, Priority: Normal
ruby -v: 1.8.6 , 1.8.7

tested on versions 1.8.6 and 1.8.7
steps to reproduce:
1) load irb
2) require 'test/unit'
3) type "exit" or hit ^D
4) result:  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:76:in `throw': uncaught throw `IRB_EXIT' (NameError)

patch solves the problem


----------------------------------------
http://redmine.ruby-lang.org