Skip to content

New Bundler versions are setting BUNDLE_GEMFILE env #2

@magnetised

Description

@magnetised

Which messes up the execution of any Bundler-managed task executables.

Need to remove it from the ENV after forking (but before calling the external script). If you need to have it defined you can always add it to the set of env vars in the task definition.

It might actually be better to just issue an ENV.clear rather than just remove individual settings: not sure how this will work out though. It's always difficult trying to figure out what's wrong with scripts that execute with a completely clean environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions