未验证 提交 6d654cc6 编写于 作者: R Rafael França 提交者: Rafael Mendonça França

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

Do not abort `rails new` when git binary doesn't exist
上级 93b5473e
......@@ -68,7 +68,7 @@ def gitignore
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册