Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No SourceIndex#reverse. #to_a first.

  • Loading branch information...
commit e6f9b1305425d762926c9c28477c6532170dbe87 1 parent 8addc9a
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/bundler/source.rb
View
2  lib/bundler/source.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.