summaryrefslogtreecommitdiff
path: root/lib/bundler/definition.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2011-05-18 18:11:12 -0400
committerAndre Arko <andre@arko.net>2011-05-18 18:11:12 -0400
commit1b1863490f1a3896bd8cfd0966792636dc974025 (patch)
tree550df71496feab5c5116ac05069b15532b2fbc48 /lib/bundler/definition.rb
parent72911c218b28658dca0a6f3558f6a9e954aceeb3 (diff)
downloadbundler-1b1863490f1a3896bd8cfd0966792636dc974025.tar.gz
likewise fix rubygems_index to add the index as a source
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r--lib/bundler/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 7c40ff04ba..e635412c63 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -170,7 +170,7 @@ module Bundler
def rubygems_index
@rubygems_index ||= Index.build do |idx|
rubygems = @sources.find{|s| s.is_a?(Source::Rubygems) }
- idx.add_source(rubygems)
+ idx.add_source rubygems.specs
end
end