Permalink
Browse files

No SourceIndex#reverse. #to_a first.

  • Loading branch information...
1 parent 8addc9a commit e6f9b1305425d762926c9c28477c6532170dbe87 @jeremy jeremy committed Feb 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/source.rb
View
@@ -78,7 +78,7 @@ 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

0 comments on commit e6f9b13

Please sign in to comment.