summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-02-16 21:57:49 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2020-03-09 18:25:09 +0100
commit99deb0badbfe1f3092f87323f7d0804aaa7a1947 (patch)
treefbb79f506234ee1619538b6ee205dc89698c4592
parentec43b552b38ba742a35f3759f7873bc22c0305b5 (diff)
downloadbundler-99deb0badbfe1f3092f87323f7d0804aaa7a1947.tar.gz
I don't think this is needed?
-rw-r--r--lib/bundler/settings.rb4
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)