Skip to content

Conversation

deivid-rodriguez
Copy link
Contributor

What was the end-user or developer problem that led to this PR?

As reported in #8383, Bundler is not printing errors when failing to load plugins in situations where they would not happen previously.

What is your fix for the problem, implemented in this PR?

@roberts1000's reproduction and @simi's bisection helped identify #3439 as the culprit.

That PR introduced several changes aimed at loading RubyGems plugins at Bundler.require time.

That's what caused this issue and it seems unrelated to introducing new hooks for Bundler plugins.

I think RubyGems plugins were confused with Bundler plugins.

This PR reverts that change.

Fixes #8383.

Make sure the following tasks are checked

@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/revert-bad-changes branch 2 times, most recently from bf58020 to ec116c0 Compare January 15, 2025 20:01
These changes were included when adding bundler plugin hooks for
`Bundler.require`, but they seem completely unrelated to that feature,
and have caused several issues.
@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/revert-bad-changes branch from ec116c0 to 8d56551 Compare January 15, 2025 20:41
@deivid-rodriguez deivid-rodriguez merged commit 859f4f3 into master Jan 16, 2025
91 checks passed
@deivid-rodriguez deivid-rodriguez deleted the deivid-rodriguez/revert-bad-changes branch January 16, 2025 09:35
deivid-rodriguez added a commit that referenced this pull request Jan 16, 2025
…anges

Revert RubyGems plugins getting loaded on `Bundler.require`

(cherry picked from commit 859f4f3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ruby version 3.4.1 throws manpages (LoadError)

1 participant