From: Yukihiro Matsumoto Date: 2012-03-07T08:21:20+09:00 Subject: [ruby-core:43103] [ruby-trunk - Feature #5221] LoadEerror#path Issue #5221 has been updated by Yukihiro Matsumoto. I agree. ---------------------------------------- Feature #5221: LoadEerror#path https://bugs.ruby-lang.org/issues/5221 Author: Koichi Sasada Status: Open Priority: Normal Assignee: Yukihiro Matsumoto Category: core Target version: 2.0.0 I read a part of activesupport and they add a method LoadError#path to return unloaded file name (*1). *1: https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/load_error.rb How about to add this method on trunk? This is a patch with some re-factoring around LoadError: http://www.atdot.net/sp/view/y5xeql/readonly?lang=diff -- http://bugs.ruby-lang.org/