diff options
Diffstat (limited to 'ruby_1_9_3/lib/rubygems/psych_additions.rb')
-rw-r--r-- | ruby_1_9_3/lib/rubygems/psych_additions.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ruby_1_9_3/lib/rubygems/psych_additions.rb b/ruby_1_9_3/lib/rubygems/psych_additions.rb new file mode 100644 index 0000000000..6a46bdaf3c --- /dev/null +++ b/ruby_1_9_3/lib/rubygems/psych_additions.rb @@ -0,0 +1,18 @@ +# This exists just to satify bugs in marshal'd gemspecs that +# contain a reference to YAML::PrivateType. We prune these out +# in Specification._load, but if we don't have the constant, Marshal +# blows up. + +module Psych + class PrivateType + end +end +# This exists just to satify bugs in marshal'd gemspecs that +# contain a reference to YAML::PrivateType. We prune these out +# in Specification._load, but if we don't have the constant, Marshal +# blows up. + +module Psych + class PrivateType + end +end |