summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/settings.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb
index 4d1271df65..bed875420e 100644
--- a/lib/bundler/settings.rb
+++ b/lib/bundler/settings.rb
@@ -83,6 +83,7 @@ module Bundler
local_config_file || raise(GemfileNotFound, "Could not locate Gemfile")
set_key(key, value, @local_config, local_config_file)
end
+ alias_method :set_local, :[]=
def temporary(update)
existing = Hash[update.map {|k, _| [k, @temporary[k]] }]
@@ -95,8 +96,6 @@ module Bundler
end
end
- alias_method :set_local, :[]=
-
def delete(key)
@local_config.delete(key_for(key))
end