From 84c8e15ee42d7dd9fda90db88fcd783c7006fe1a Mon Sep 17 00:00:00 2001 From: Daniel Rikowski Date: Mon, 6 May 2024 15:17:31 +0200 Subject: [PATCH] Fix insufficient Windows detection --- lib/foreman.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/foreman.rb b/lib/foreman.rb index ca3f754f..1af97552 100644 --- a/lib/foreman.rb +++ b/lib/foreman.rb @@ -11,7 +11,7 @@ def self.ruby_18? end def self.windows? - defined?(RUBY_PLATFORM) and RUBY_PLATFORM =~ /(win|w)32$/ + Gem.win_platform? end end