I\'m working on a Rails 3 app, and I\'ve got a hierarchy of classes in my lib folder, e.g.:
lib
lib ├── assets ├── tasks │ └── import.rake └── imp
Using @apneadiving's suggestion, I was able to fix this by adding this line to the beginning of my base.rb file:
base.rb
Dir[Rails.root.join('lib/importer/source/**/*.rb')].each(&method(:require))