Brian Candler wrote:
> However, since he didn't post the exact warnings seen, or the code which 
> produces them, it's hard to help him further.

Hi,

This is the case, I have three files, a.rb, b.rb and c.rb.

a.rb:

module A
  TEST='test'
end

b.rb:

require 'a'
require 'c'
class B
  include A
end

c.rb:

require File.dirname(__FILE__)+'/a.rb'
class C
  include A
end

when run b.rb, I will get the warning: "./a.rb:2: warning: already 
initialized constant TEST"
-- 
Posted via http://www.ruby-forum.com/.