From: Eric Hodel Date: 2011-07-25T09:17:59+09:00 Subject: [ruby-core:38467] [Ruby 1.9 - Bug #5091] Can't require './.testrb' Issue #5091 has been updated by Eric Hodel. For require the filename must end in .rb, .so, .dll, .dylib, etc. load will work with any file extension. ---------------------------------------- Bug #5091: Can't require './.testrb' http://redmine.ruby-lang.org/issues/5091 Author: Thomas Sawyer Status: Open Priority: Normal Assignee: Category: core Target version: ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux] Just ran across this oddity. I made a local configuration file called `.testrb`, but I can't require it. > require './.testrb' LoadError: no such file to load -- ./.testrb Just to make sure I did not mess up somehow, I renamed it to `.rbtest` and it worked fine. I change it back and still no go. I tried it under 1.9.2 and 1.8.7, both failed to require the file. -- http://redmine.ruby-lang.org