summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-01-13 16:31:20 +0100
committergit <svn-admin@ruby-lang.org>2022-01-14 07:44:14 +0900
commit40d9be51e8c33118702c4dc536e915547b1080a2 (patch)
treec74cdb26e65157578686b0214f8d5596c2bc7653 /ext/psych/lib/psych
parentacd1f45a5c0a35bcafef8c31b1429126a5efa3ea (diff)
[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
Diffstat (limited to 'ext/psych/lib/psych')
-rw-r--r--ext/psych/lib/psych/scalar_scanner.rb1
1 files changed, 0 insertions, 1 deletions
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
###