From: Nikolai Weibull Date: 2011-12-13T01:15:29+09:00 Subject: [ruby-core:41612] Errors raised and rescued in Kernel#loaded file still propagate a.rb: load 'b.rb' b.rb: begin BasicObject.new.inspect rescue => e p e end % ruby -v ruby 1.9.3p0 (2011-10-30 revision 33569) [x86_64-darwin10.8.0] % ruby a.rb #> b.rb:4:in `to_str': undefined method `inspect' for # (NoMethodError) from b.rb:4:in `to_s' from b.rb:4:in `inspect' from b.rb:4:in `p' from b.rb:4:in `rescue in ' from b.rb:1:in `' from a.rb:1:in `load' from a.rb:1:in `
' % ruby b.rb #> This is a bug, right?