aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/source.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/source.rb')
-rw-r--r--lib/bundler/source.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index 076fa1d3..11036331 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -78,7 +78,7 @@ module Bundler
@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