aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin/rails
blob: da9b2af0412b6f26974ced3d81234563486c274e (plain) (blame)
1
2
3
4
5
6
7
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')