diff options
-rw-r--r-- | lib/bundler/settings.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb index ce8112b793..1743b9c037 100644 --- a/lib/bundler/settings.rb +++ b/lib/bundler/settings.rb @@ -90,8 +90,10 @@ module Bundler def initialize(root = nil) @root = root @local_config = load_config(local_config_file) + @env_config = ENV.to_h - @env_config.select! {|key, _value| key.start_with?("BUNDLE_") } + @env_config.select! {|key, _value| key.start_with?("BUNDLE_")} + @env_config.delete("BUNDLE_") @global_config = load_config(global_config_file) @temporary = {} |