mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
48e7edc31b
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
11 lines
457 B
Text
Executable file
11 lines
457 B
Text
Executable file
require File.dirname(__FILE__) + '/../lib/ruby_version_check'
|
|
Signal.trap("INT") { puts; exit }
|
|
|
|
require File.dirname(__FILE__) + '/../lib/rails_version'
|
|
abort "Rails #{Rails::VERSION::STRING}" if %w(--version -v).include? ARGV.first
|
|
|
|
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')
|