Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error when building error message in bundler/inline #3901

Merged
merged 1 commit into from Aug 28, 2020

Conversation

deivid-rodriguez
Copy link
Member

Description:

If during a bundler/inline script, Kernel.gem is used to activate a
non-available gem, bundler would end up using a GemfileNotFound
error instead of a proper LoadError.

This commit fixes the problem.

Fixes #3726.


Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

If during a `bundler/inline` script, `Kernel.gem` is used to activate a
non-available gem, `bundler` would end up using a `GemfileNotFound`
error instead of a proper `LoadError`.

This commit fixes the problem.
@deivid-rodriguez
Copy link
Member Author

Thanks @hsbt!

@deivid-rodriguez deivid-rodriguez merged commit 99285a9 into master Aug 28, 2020
@deivid-rodriguez deivid-rodriguez deleted the fix_bundler_inline_error branch August 28, 2020 18:52
deivid-rodriguez added a commit that referenced this pull request Oct 5, 2020
Fix error when building error message in `bundler/inline`

(cherry picked from commit 99285a9)
deivid-rodriguez added a commit that referenced this pull request Oct 5, 2020
Fix error when building error message in `bundler/inline`

(cherry picked from commit 99285a9)
deivid-rodriguez added a commit that referenced this pull request Oct 5, 2020
Fix error when building error message in `bundler/inline`

(cherry picked from commit 99285a9)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Fix error when building error message in `bundler/inline`

(cherry picked from commit 99285a9)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Fix error when building error message in `bundler/inline`

(cherry picked from commit 99285a9)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Fix error when building error message in `bundler/inline`

(cherry picked from commit 99285a9)
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.

Regression of bundler#7536 - bundler/inline breaks
3 participants