Skip to content

Bundler.with_clean_env should strip BUNDLE_GEMFILE #202

Open
deadlyicon opened this Issue Nov 16, 2010 · 0 comments

1 participant

@deadlyicon

I think Bundler.with_clean_env should strip BUNDLE_GEMFILE

I was trying to exec a script that uses bundler from another script that also uses bundler and it failed because the BUNDLE_GEMFILE env var was being passed along. Bundler.with_clean_env appeared to be the answer to this but instead of creating a "clear" ENV it creates a clean-ish ENV by striping all but the BUNDLE_GEMFILE var.

it seems like the burden of adding this manually should be on those who want it not on those who don't inside of with_clean_env

thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.