diff options
Diffstat (limited to 'jni/ruby/lib/rubygems/psych_additions.rb')
-rw-r--r-- | jni/ruby/lib/rubygems/psych_additions.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jni/ruby/lib/rubygems/psych_additions.rb b/jni/ruby/lib/rubygems/psych_additions.rb new file mode 100644 index 0000000..0e4ebbd --- /dev/null +++ b/jni/ruby/lib/rubygems/psych_additions.rb @@ -0,0 +1,9 @@ +# 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 # :nodoc: + class PrivateType # :nodoc: + end +end |