Skip to content

Commit 3575c36

Browse files
committed
Change platform mswin to windows
Avoid this error when `bundle install` runs on Ruby HEAD. ``` [REMOVED] Platform :mswin has been removed. Please use platform :windows instead. ```
1 parent 2147f11 commit 3575c36

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Gemfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ gem "test-unit-ruby-core"
2020
gem "rubocop"
2121

2222
gem "tracer" if !is_truffleruby
23-
gem "debug", github: "ruby/debug", platforms: [:mri, :mswin]
23+
if RUBY_VERSION >= "3.1.0"
24+
gem "debug", github: "ruby/debug", platforms: [:mri, :windows]
25+
else
26+
# TODO: Remove this after dropping support for Ruby < 3.1
27+
gem "debug", github: "ruby/debug", platforms: [:mri, :mswin]
28+
end
2429

2530
gem "rdoc", ">= 6.11.0"
2631

0 commit comments

Comments
 (0)