1
0
Fork 0
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:
Martijn Storck 2019-12-28 18:38:23 +01:00
parent 6cbd81c383
commit 0a79323e33

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