summaryrefslogtreecommitdiff
path: root/lib/bundler/cli/gem.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2023-09-07 11:43:28 -0700
committergit <svn-admin@ruby-lang.org>2023-09-21 18:28:54 +0000
commite9ed0b3068f54f32d5116ff9d73833d96229fde9 (patch)
tree3189be7899beb572cbe39d899c3fcfa87f0477af /lib/bundler/cli/gem.rb
parent02fa2acbde50f282409346544844182e9a25cc6b (diff)
[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
Diffstat (limited to 'lib/bundler/cli/gem.rb')
0 files changed, 0 insertions, 0 deletions