Project

General

Profile

« Previous | Next » 

Revision e9ed0b30

Added by segiddins (Samuel Giddins) almost 2 years ago

[rubygems/rubygems] Stop bundler eagerly loading all specs with exts

We were setting the wrong extension_dir for git specs stubs

Additionally, the call to self.extension_dir was loading the
remote spec, which was avoidable since the stub had an extension dir
(and in fact its #gem_build_complete_path does exactly what we want
anyway)

Finally, now set the base_dir when loading the remote_spec from a
stub specification, since the git source sets the base dir for stubs
based on where the spec will be installed to, and we want to preserve
that so the base_dir for the loaded spec & the stub are the same

https://github.com/rubygems/rubygems/commit/a94acb465b