summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/config_file.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems/config_file.rb b/lib/rubygems/config_file.rb
index 3160f6c4aa..36cf20194c 100644
--- a/lib/rubygems/config_file.rb
+++ b/lib/rubygems/config_file.rb
@@ -486,6 +486,7 @@ if you believe they were disclosed to a third party.
yaml_hash[key.to_s] = value
end
+ require "bundler/yaml_serializer"
Bundler::YAMLSerializer.dump(yaml_hash)
end