Added instruction for autocrlf issue of Git on Windows

This commit is contained in:
Hiroshi SHIBATA 2025-04-11 11:01:05 +09:00
parent 1bd029b1ea
commit a2b39e5ca6
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -102,6 +102,14 @@ sh ../../ruby/configure -C --disable-install-doc --with-opt-dir=C:\Users\usernam
scoop install git ruby 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 5. You need to install required libraries using [vcpkg](https://vcpkg.io/) on
directory of ruby repository like: directory of ruby repository like: