diff options
| author | Masataka Pocke Kuwabara <kuwabara@pocke.me> | 2021-10-03 01:30:55 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-10-09 08:04:08 +0900 |
| commit | d03d122ba1851156c93ea21a9006a7d921ad073e (patch) | |
| tree | dbb58bee14392eb71c1341d45af7d90bfcf7b127 /spec | |
| parent | ad92651d6428d59b7f4dbee7014f4d1127bbdbe8 (diff) | |
[rubygems/rubygems] Improve performance of Specification#missing_extensions?
https://github.com/rubygems/rubygems/commit/90c1919f94
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/bundler/support/hax.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/bundler/support/hax.rb b/spec/bundler/support/hax.rb index aaf8c74894..0ad5239128 100644 --- a/spec/bundler/support/hax.rb +++ b/spec/bundler/support/hax.rb @@ -9,7 +9,10 @@ module Gem Gem.ruby = ENV["RUBY"] end - @default_dir = ENV["BUNDLER_GEM_DEFAULT_DIR"] if ENV["BUNDLER_GEM_DEFAULT_DIR"] + if ENV["BUNDLER_GEM_DEFAULT_DIR"] + @default_dir = ENV["BUNDLER_GEM_DEFAULT_DIR"] + @default_specifications_dir = nil + end if ENV["BUNDLER_SPEC_PLATFORM"] class Platform |
