aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin/rails
blob: 3fb61137a169923c9506bdb29ffaae5b85123bc4 (plain) (blame)
1
2
3
4
5
6
7
8
abort "Rails requires Ruby 1.8.2" if RUBY_VERSION < "1.8.2"

Signal.trap("INT") { puts; exit }

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