-
Notifications
You must be signed in to change notification settings - Fork 629
Open
Description
Currently, we're using the /(win|w)32$/ regular expression pattern to identify Windows.
However, this pattern does not correctly identify Windows when using Ruby 3.1 or later.
Since Ruby 3.1, the platform reported by the RubyInstaller for Windows is x64-mingw-ucrt.
Please consider updating the code to support this platform.
Lines 13 to 15 in a5f9b78
| def self.windows? | |
| defined?(RUBY_PLATFORM) and RUBY_PLATFORM =~ /(win|w)32$/ | |
| end |
Metadata
Metadata
Assignees
Labels
No labels