From a2b39e5ca686b677b63be2b1ab8baa5a1b8df08d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 11 Apr 2025 11:01:05 +0900 Subject: [PATCH] Added instruction for autocrlf issue of Git on Windows --- doc/windows.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/windows.md b/doc/windows.md index 88f6c7060c..f4a1c23808 100644 --- a/doc/windows.md +++ b/doc/windows.md @@ -102,6 +102,14 @@ sh ../../ruby/configure -C --disable-install-doc --with-opt-dir=C:\Users\usernam scoop install git ruby ``` + The windows version of `git` configured with `autocrlf` is `true`. The Ruby + test suite may fail with `autocrlf` set to `true`. You can set it to `false` + like: + + ```batch + git config --global core.autocrlf false + ``` + 5. You need to install required libraries using [vcpkg](https://vcpkg.io/) on directory of ruby repository like: