Eric Hodel wrote: > On Oct 27, 2005, at 9:51 PM, Kev Jackson wrote: > >> In lib/b.rb, you need to write: >> >> >>> require "base" >>> module A >>> class B < Base >>> end >>> end >>> >>> otherwise your code in b.rb isn't aware of base.rb, and thus >>> doesn't know about A::Base. >>> >> >> require 'base' > > > require 'lib/base' then Thanks, this fixes it - but the actual path 'lib/base' is incorrect in the context of the file b.rb (b.rb is in the same directory as base.rb, therefore the line should be require 'base' no?) Kev