class Rails::Generators::Base

def self.base_root

guess the default source root.
Returns the base root for a common set of generators. This is used to dynamically
def self.base_root
  File.dirname(__FILE__)
end