lib/rubygems/indexer.rb in rubygems-update-1.8.24 vs lib/rubygems/indexer.rb in rubygems-update-1.8.25
- old
+ new
@@ -582,9 +582,12 @@
end
specs = map_gems_to_specs updated_gems
prerelease, released = specs.partition { |s| s.version.prerelease? }
+ Gem::Specification.dirs = []
+ Gem::Specification.add_specs(*specs)
+
files = build_marshal_gemspecs
Gem.time 'Updated indexes' do
update_specs_index released, @dest_specs_index, @specs_index
update_specs_index released, @dest_latest_specs_index, @latest_specs_index