diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-04-11 11:01:05 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-04-11 11:01:05 +0900 |
| commit | a2b39e5ca686b677b63be2b1ab8baa5a1b8df08d (patch) | |
| tree | 6bf41be5a3a2a55a4a62f473d86e9933654644fe | |
| parent | 1bd029b1eaa76496f376d92059db5f0b355ad03b (diff) | |
Added instruction for autocrlf issue of Git on Windows
| -rw-r--r-- | doc/windows.md | 8 |
1 files changed, 8 insertions, 0 deletions
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: |
