diff options
author | Andre Arko <andre@arko.net> | 2016-08-10 11:27:35 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2016-08-10 11:27:35 -0700 |
commit | c1e168dcd51e14f67373a6190cba153be50662f5 (patch) | |
tree | 8519d7de078042f334343f3ee95306327592266f /spec/runtime | |
parent | 086f79921378c6aaeb31a614ccf6a8862ea3acb3 (diff) | |
download | bundler-c1e168dcd51e14f67373a6190cba153be50662f5.tar.gz |
Rename all BUNDLE_ORIG_* env to BUNDLER_ORIG*
Any enviroment variable that starts with BUNDLE_ will be treated as a
configurationg setting, printed by `bundle config`, and made available
internally via `Bundler.settings`. The ORIG_* environment variables are
actually just internal housekeeping to enable us to provide clean
non-bundled environments, and so they shouldn't show up as settings.
This change to the environment variable names makes sure it is still
clear where they are coming from, but no longer surfaces them via
config/settings.
Diffstat (limited to 'spec/runtime')
-rw-r--r-- | spec/runtime/with_clean_env_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/runtime/with_clean_env_spec.rb b/spec/runtime/with_clean_env_spec.rb index b2ab0883..752754be 100644 --- a/spec/runtime/with_clean_env_spec.rb +++ b/spec/runtime/with_clean_env_spec.rb @@ -78,7 +78,7 @@ describe "Bundler.with_env helpers" do it "should restore the original MANPATH" do code = "print Bundler.clean_env['MANPATH']" ENV["MANPATH"] = "/foo" - ENV["BUNDLE_ORIG_MANPATH"] = "/foo-original" + ENV["BUNDLER_ORIG_MANPATH"] = "/foo-original" result = bundle("exec ruby -e #{code.inspect}") expect(result).to eq("/foo-original") end |