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:
commit
3023e7def8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue