Permalink
Browse files

Disable stripping YAML::PrivateType from gemspecs

Since MacRuby does not have a YAML::PrivateType class. This issue is being tracked in RubyGems #306.
  • Loading branch information...
1 parent cba871b commit ab9d058775f5b4e4b7c19e784eccfb7e1047a848 @ferrous26 ferrous26 committed Mar 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/rubygems/specification.rb
@@ -669,7 +669,8 @@ def self._load(str)
# Cleanup any YAML::PrivateType. They only show up for an old bug
# where nil => null, so just convert them to nil based on the type.
- array.map! { |e| e.kind_of?(YAML::PrivateType) ? nil : e }
+ # XXX MACRUBY disable this until RubyGems #306 is resolved
+ # array.map! { |e| e.kind_of?(YAML::PrivateType) ? nil : e }
spec.instance_variable_set :@rubygems_version, array[0]
# spec version

0 comments on commit ab9d058

Please sign in to comment.