diff options
author | Andre Arko <andre@arko.net> | 2015-02-06 15:28:49 +1100 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-02-09 15:45:13 +1100 |
commit | 9263e08636d25e2573776b17416e6fabd403026b (patch) | |
tree | 01eb0b08fd2e3f627827e6e115817ce05db34057 /lib/bundler/lockfile_parser.rb | |
parent | d7900f1b67934521fd2cf17ba43ebb2a1b94edae (diff) | |
download | bundler-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.rb | 2 |
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" \ |