require File.dirname(__FILE__) + '/../lib/rails_generator' require 'rails_generator/simple_logger' require 'rails_generator/scripts/generate' Rails::Generator::Base.logger = Rails::Generator::SimpleLogger.new(STDOUT) Rails::Generator::Base.use_application_sources! Rails::Generator::Scripts::Generate.new.run(ARGV, :generator => 'app')