1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #38115 from martijn/38035-fail-loudly-on-missing-git

Do not abort `rails new` when git binary doesn't exist
This commit is contained in:
Rafael França 2019-12-29 10:51:37 -03:00 committed by GitHub
commit 3023e7def8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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