From 5b2c9f608cc0cbe3cb62490f5252c0f533658d77 Mon Sep 17 00:00:00 2001 From: Dana Sherson Date: Fri, 17 Nov 2023 23:25:33 +1300 Subject: [PATCH] Debugging --- lib/path_list/candidate.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/path_list/candidate.rb b/lib/path_list/candidate.rb index 6f14374..0a8d193 100644 --- a/lib/path_list/candidate.rb +++ b/lib/path_list/candidate.rb @@ -54,10 +54,12 @@ def children end end + puts "::RUBY_PLATFORM #{::RUBY_PLATFORM}" + puts "::RbConfig::CONFIG['host_os'] #{::RbConfig::CONFIG['host_os']}" + # :nocov: if ::RUBY_PLATFORM == 'jruby' && ::RbConfig::CONFIG['host_os'].match?(/mswin|mingw/) # @return [Boolean] whether this path is a directory (false for symlinks to directories) - puts 'WE ARE WINDOWS JRUBY' def directory? return @directory unless @directory.nil?