blob: 57eb8809ed4504c01d710b649068d5f8f131caa9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require File.dirname(__FILE__) + '/../lib/ruby_version_check'
Signal.trap("INT") { puts; exit }
require File.dirname(__FILE__) + '/../lib/rails/version'
if %w(--version -v).include? ARGV.first
puts "Rails #{Rails::VERSION::STRING}"
exit(0)
end
ARGV << "--help" if ARGV.empty?
require File.dirname(__FILE__) + '/../lib/generator'
require 'generator/generators/app/app_generator'
Rails::Generators::AppGenerator.start
|