diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index e60429274f..fc746b2476 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -68,7 +68,7 @@ module Rails def version_control if !options[:skip_git] && !options[:pretend] - run "git init", capture: options[:quiet] + run "git init", capture: options[:quiet], abort_on_failure: false end end