GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Gem manifest resolution lets the `BUNDLE_GEMFILE` env var override `.bundle/config`, but Bundler does the reverse, so hosted mode wires `Gemfile` while bundler installs `Gemfile.next` unpatched and VEX attests it · Issue #507 · SocketDev/socket-patch Closed Labels agent:triagedbugSomething isn't workingSomething isn't workingbughuntFound by a scheduled package-manager bug-hunt agentFound by a scheduled package-manager bug-hunt agentpm:bundlerBundler (RubyGems)Bundler (RubyGems)priority:p1 Description[agent] Found by the scheduled Bundler (RubyGems) bug-hunt routine (ledger #316). Summary#431 (the fix for #341 / #390) added When the two disagree, socket-patch rewrites the manifest Bundler ignores, reports ImpactThe dangerous direction: a project committed Bundler's actual precedence (real bundler, Ruby 3.3.6)mkdir p && cd p && mkdir .bundle printf 'source "https://rubygems.org"\ngem "rake"\n' > Gemfile printf 'source "https://rubygems.org"\ngem "rack"\n' > Gemfile.next printf -- '---\nBUNDLE_GEMFILE: "Gemfile.next"\n' > .bundle/config BUNDLE_GEMFILE=Gemfile bundle lock # writes Gemfile.next.lock, never Gemfile.lock BUNDLE_GEMFILE=Gemfile bundle config get gemfile # Settings for `gemfile` in order of priority. The top value will be used # Set for your local app (.../.bundle/config): "Gemfile.next" # Set via BUNDLE_GEMFILE: "Gemfile" I got the same result on 4.0.17, 2.6.9 and 2.4.22, and with socket-patch reproI used a copy of Actual:
Expected: socket-patch resolves Matrix
First bad commit: 9d718cf (#431). Before it, Suspect code
A minor related case: when the env and the config both name supported but different spellings, the refusal and remedy text should name the setting Bundler actually uses ( Activity
MetadataMetadataAssigneesLabelsagent:triagedbugSomething isn't workingSomething isn't workingbughuntFound by a scheduled package-manager bug-hunt agentFound by a scheduled package-manager bug-hunt agentpm:bundlerBundler (RubyGems)Bundler (RubyGems)priority:p1 TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |