lib/bundler/source.rb in bundler-0.9.8 vs lib/bundler/source.rb in bundler-0.9.9
- old
+ new
@@ -76,10 +76,10 @@
class SystemGems
def specs
@specs ||= begin
index = Index.new
- Gem::SourceIndex.from_installed_gems.reverse_each do |name, spec|
+ Gem::SourceIndex.from_installed_gems.to_a.reverse.each do |name, spec|
spec.source = self
index << spec
end
index