mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
69ab3eb57e
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
17 lines
429 B
Ruby
17 lines
429 B
Ruby
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
|
|
|
|
args = Rails::Generators::ARGVScrubber.new(ARGV).prepare!
|
|
Rails::Generators::AppGenerator.start args
|