My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 5: Loading files with same filename but in different directory loads the first file twice
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  ----
Type-Defect
Priority-High
Rails
Product-RubyRuntime


Sign in to add a comment
 
Reported by sasongko, Aug 09, 2007
With dir1\file.rb and dir2\file.rb,

require 'dir1/file'
require 'dir2/file'

will load dir1\file.rb twice.

rubygems (hence rails) needs net/http, which in turn needs uri/http.
Comment 1 by sasongko, Sep 05, 2007
(No comment was entered for this change.)
Labels: -Type-Defect Type-Bug
Comment 2 by sasongko, Sep 05, 2007
(No comment was entered for this change.)
Comment 3 by sasongko, Sep 05, 2007
(No comment was entered for this change.)
Status: Accepted
Labels: Rails
Comment 4 by sasongko, Sep 13, 2007
(No comment was entered for this change.)
Labels: Product-RubyRuntime
Comment 5 by sasongko, Oct 24, 2007
Increasing priority because, as far as I can tell, this is the only bug blocking 
RubyGems and Active Support.

(In particular, Active Support is responsible for monkey-patching the core and 
standard libraries and therefore has a lot of files with the same names as in the 
stdlib.)
Labels: -Type-Bug -Priority-Medium Type-Defect Priority-High
Sign in to add a comment

Hosted by Google Code