mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Do not abort rails new
when git binary doesn't exist
Co-Authored-By: Eugene Kenny <elkenny@gmail.com>
This commit is contained in:
parent
6cbd81c383
commit
0a79323e33
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ module Rails
|
||||||
|
|
||||||
def version_control
|
def version_control
|
||||||
if !options[:skip_git] && !options[:pretend]
|
if !options[:skip_git] && !options[:pretend]
|
||||||
run "git init", capture: options[:quiet]
|
run "git init", capture: options[:quiet], abort_on_failure: false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue