Two files with the same name pointed by RUBYLIB ?

Posted by JCLL on Stack Overflow See other posts from Stack Overflow or by JCLL
Published on 2010-04-27T08:26:15Z Indexed on 2010/04/27 8:43 UTC
Read the original article Hit count: 175

Filed under:

I have two files with the same name "Foo.rb" in the directories pointed by my RUBYLIB env variable.

This causes the interpreter to fail, when 'require "Foo"' is invoked. It cannot know which to use.

How to solve this without renaming the files ?

© Stack Overflow or respective owner

Related posts about ruby