aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/commands/application.rb
blob: 678697f09be000be15a87202a433ccba857a09d2 (plain) (tree)
1
2
3
4
5
6
                          
                                                  
 

                   
                                








                                                                
                                                 
                                     
require 'rails/generators'
require 'rails/generators/rails/app/app_generator'

module Rails
  module Generators
    class AppGenerator # :nodoc:
      # We want to exit on failure to be kind to other libraries
      # This is only when accessing via CLI
      def self.exit_on_failure?
        true
      end
    end
  end
end

Rails::Generators::AppPreparer.new(ARGV).prepare!
Rails::Generators::AppGenerator.start