summaryrefslogtreecommitdiff
path: root/lib/bundler/lockfile_parser.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-02-06 15:28:49 +1100
committerAndre Arko <andre@arko.net>2015-02-09 15:45:13 +1100
commit9263e08636d25e2573776b17416e6fabd403026b (patch)
tree01eb0b08fd2e3f627827e6e115817ce05db34057 /lib/bundler/lockfile_parser.rb
parentd7900f1b67934521fd2cf17ba43ebb2a1b94edae (diff)
downloadbundler-9263e08636d25e2573776b17416e6fabd403026b.tar.gz
LocalRubygems source for local gem specs
This class (and only this class) knows about gems that are installed locally or present in vendor/cache. Because we now have multiple source objects, it's much more efficient to only load the installed and cached specs into one of those sources rather than all Rubygems sources.
Diffstat (limited to 'lib/bundler/lockfile_parser.rb')
-rw-r--r--lib/bundler/lockfile_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lockfile_parser.rb b/lib/bundler/lockfile_parser.rb
index 7c7357a1a6..07eb676661 100644
--- a/lib/bundler/lockfile_parser.rb
+++ b/lib/bundler/lockfile_parser.rb
@@ -29,7 +29,7 @@ module Bundler
@state = :source
@specs = {}
- @rubygems_aggregate = Source::Rubygems.new
+ @rubygems_aggregate = Source::LocalRubygems.new
if lockfile.match(/<<<<<<<|=======|>>>>>>>|\|\|\|\|\|\|\|/)
raise LockfileError, "Your Gemfile.lock contains merge conflicts.\n" \