diff options
author | Andre Arko <andre@arko.net> | 2011-05-18 18:11:12 -0400 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2011-05-18 18:11:12 -0400 |
commit | 1b1863490f1a3896bd8cfd0966792636dc974025 (patch) | |
tree | 550df71496feab5c5116ac05069b15532b2fbc48 /lib/bundler/definition.rb | |
parent | 72911c218b28658dca0a6f3558f6a9e954aceeb3 (diff) | |
download | bundler-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.rb | 2 |
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 |