diff options
-rw-r--r-- | spec/bundler/support/platforms.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/support/platforms.rb b/spec/bundler/support/platforms.rb index b2a9689b1b..2fa61dc291 100644 --- a/spec/bundler/support/platforms.rb +++ b/spec/bundler/support/platforms.rb @@ -9,9 +9,9 @@ module Spec end def local_tag - if RUBY_PLATFORM == "java" + if Gem.java_platform? :jruby - elsif ["x64-mingw32", "x64-mingw-ucrt"].include?(RUBY_PLATFORM) + elsif Gem.win_platform? :windows else :ruby |