aboutsummaryrefslogblamecommitdiffstats
path: root/railties/bin/destroy
blob: 6c1848ce1e184d56189288a79f23e77ec9664eae (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/destroy'

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