Skip to content

Commit 77d7ca9

Browse files
committed
Document a recent Bundler is needed on Windows
1 parent e08bf35 commit 77d7ca9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ So, please use `bundler-cache: true` instead and report any issue.
205205
Note that running CI on Windows can be quite challenging if you are not very familiar with Windows.
206206
It is recommended to first get your build working on Ubuntu and macOS before trying Windows.
207207

208+
* Use Bundler 2.2.18+ on Windows (older versions have [bugs](https://github.com/ruby/setup-ruby/issues/209#issuecomment-889064123)) by not setting the `bundler:` input and ensuring there is no `BUNDLED WITH 1.x.y` in a checked-in `Gemfile.lock`.
208209
* The default shell on Windows is not Bash but [PowerShell](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#using-a-specific-shell).
209210
This can lead issues such as multi-line scripts [not working as expected](https://github.com/ruby/setup-ruby/issues/13).
210211
* The `PATH` contains [multiple compiler toolchains](https://github.com/ruby/setup-ruby/issues/19). Use `where.exe` to debug which tool is used.

0 commit comments

Comments
 (0)