error.c (rb_loaderror_with_path): Adding the missing file as an instance variable to the LoadError exception.
load.c: call rb_loaderror_with_path so that the missing path is added to the exception.
ruby.c: call rb_loaderror rather than raising our own LoadError exception.
include/ruby/intern.h: add declaration for rb_loaderror_with_path.
test/ruby/test_require.rb: add supporting test for LoadError#path method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
error.c (rb_loaderror_with_path): Adding the missing file as an
instance variable to the LoadError exception.
load.c: call rb_loaderror_with_path so that the missing path is
added to the exception.
ruby.c: call rb_loaderror rather than raising our own LoadError
exception.
include/ruby/intern.h: add declaration for rb_loaderror_with_path.
test/ruby/test_require.rb: add supporting test for LoadError#path
method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e