You can clone with
No one assigned
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