carlhuda/bundler — Issue #1604: Should with_clean_env zap the RUBYOPT additions?
Author: eric1234
Created: 2012-01-02 01:09:33+00:00
State: open

From what I can tell `Bundler.with_clean_env` tries to go one step further than `Bundler.with_original_env` by removing all of Bundler's influence on sub-processes. Shouldn't the [additions to RUBYOPT](https://github.com/carlhuda/bundler/blob/master/lib/bundler/runtime.rb#L221) also be removed when executing in the context of `Bundler.with_clean_env`?