Issue #1631 has been updated by Yusuke Endoh.

Assigned to set to Yusuke Endoh

Hi,

> `require` raises a LoadError when the given file exists but can't be read. It's error message states "no such file to load", which is incorrect. The message should distinguish between invalid paths and inaccessible files.

Agreed.  But I prefer to error message that can be used
in common, because adding a new check is error-prone.
How about "cannot load such file -- nope"?

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1631

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