Project

General

Profile

Actions

Bug #5091

closed

Can't require './.testrb'

Added by trans (Thomas Sawyer) over 12 years ago. Updated over 12 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
Backport:
[ruby-core:38464]

Description

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0