aboutsummaryrefslogblamecommitdiffstats
path: root/railties/bin/generate
blob: 8bce002510c8a4c6a77ff15a057ddb9617123bdc (plain) (tree)
1
2
3
4
5
6
7
8


                                                         

                                          
 

                                                                          
#!/usr/local/bin/ruby
require File.dirname(__FILE__) + '/../config/environment'
require 'rails_generator'
require 'rails_generator/simple_logger'
require 'rails_generator/scripts/generate'

Rails::Generator::Base.logger = Rails::Generator::SimpleLogger.new(STDOUT)
Rails::Generator::Scripts::Generate.new.run(ARGV)