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 bootsnap setup in environments without bundler #489

Merged
merged 1 commit into from
Jul 17, 2024

Commits on Jul 17, 2024

  1. Fix bootsnap setup in environments without bundler

    Fix: #488
    
    `ExplicitRequire.with_gems` assumed the provided gems were activated
    which is only true if `bundler/setup` was required.
    
    If bootsnap is used without bundler, then we need to explictly
    activate the gem before mutating the `$LOAD_PATH`, otherwise
    the paths appended during gems activation will be lost once we
    exit `with_gems`.
    byroot committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    7afa951 View commit details
    Browse the repository at this point in the history