diff options
Diffstat (limited to 'lib/bundler/settings.rb')
-rw-r--r-- | lib/bundler/settings.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb index 23ae66efa0..396d0ec353 100644 --- a/lib/bundler/settings.rb +++ b/lib/bundler/settings.rb @@ -108,8 +108,6 @@ module Bundler end def set_local(key, value) - local_config_file || raise(GemfileNotFound, "Could not locate Gemfile") - set_key(key, value, @local_config, local_config_file) end @@ -386,7 +384,7 @@ module Bundler end def local_config_file - Pathname.new(@root).join("config") if @root + Pathname.new(@root).join("config") end def load_config(config_file) |