Skip to content

Commit a2b39e5

Browse files
committed
Added instruction for autocrlf issue of Git on Windows
1 parent 1bd029b commit a2b39e5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/windows.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,14 @@ sh ../../ruby/configure -C --disable-install-doc --with-opt-dir=C:\Users\usernam
102102
scoop install git ruby
103103
```
104104
105+
The windows version of `git` configured with `autocrlf` is `true`. The Ruby
106+
test suite may fail with `autocrlf` set to `true`. You can set it to `false`
107+
like:
108+
109+
```batch
110+
git config --global core.autocrlf false
111+
```
112+
105113
5. You need to install required libraries using [vcpkg](https://vcpkg.io/) on
106114
directory of ruby repository like:
107115

0 commit comments

Comments
 (0)