From 40d9be51e8c33118702c4dc536e915547b1080a2 Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Thu, 13 Jan 2022 16:31:20 +0100 Subject: [ruby/psych] Don't require `strscan` unnecessarily It does not seem needed, and it's causing issues on Windows when uninstalling `strscan`, because strscan's shared library being used when RubyGems tries to remove it (because its loaded through Psych, which RubyGems uses for loading configuration). https://github.com/ruby/psych/commit/3911356ec1 --- ext/psych/lib/psych/scalar_scanner.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/psych/lib/psych/scalar_scanner.rb b/ext/psych/lib/psych/scalar_scanner.rb index b66ff9938c..604cb3e399 100644 --- a/ext/psych/lib/psych/scalar_scanner.rb +++ b/ext/psych/lib/psych/scalar_scanner.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -require 'strscan' module Psych ### -- cgit v1.2.3