diff options
-rw-r--r-- | lib/rubygems/specification.rb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1300,12 +1300,13 @@ class Gem::Specification < Gem::BasicSpecification def self._load(str) Gem.load_yaml yaml_set = false retry_count = 0 array = begin - Marshal.load str rescue ArgumentError => e # Avoid an infinite retry loop when the argument error has nothing to do # with the classes not being defined. |