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

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')