Skip to content

Commit af69421

Browse files
committed
Added instruction for MSYS2 without RubyInstaller-Devkit
1 parent f13e86a commit af69421

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/windows.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ cd build
5353
make
5454
```
5555

56+
If you have other MSYS2 environment via other package manager like `scoop`, you need to specify `$MINGW_PACKAGE_PREFIX` is `mingw-w64-ucrt-x86_64`.
57+
And you need to add `--with-opt-dir` option to `configure` command like:
58+
59+
```batch
60+
sh ../../ruby/configure -C --disable-install-doc --with-opt-dir=C:\Users\username\scoop\apps\msys2\current\ucrt64
61+
```
62+
5663
[RubyInstaller-Devkit]: https://rubyinstaller.org/
5764
[git-for-windows]: https://gitforwindows.org/
5865
[VSCode]: https://code.visualstudio.com/

0 commit comments

Comments
 (0)