summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-03-10 15:39:37 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2020-03-10 17:19:44 +0100
commit05725a9bacc56ef5ff811dabadecce016383a886 (patch)
tree548ffe0bfbfaeb519b9672c8b8f29288e0c71a0f /lib
parent00da5215e90c6483728e077df4e90ab6cd34c35d (diff)
downloadbundler-config_location.tar.gz
Use thread safe method to find cwdconfig_location
And stub that in plugin's specs.
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/shared_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb
index 960a935cd3..327de0d835 100644
--- a/lib/bundler/shared_helpers.rb
+++ b/lib/bundler/shared_helpers.rb
@@ -23,7 +23,7 @@ module Bundler
def config_root
bundle_dir = default_bundle_dir
- bundle_dir ? bundle_dir.parent : Pathname.pwd
+ bundle_dir ? bundle_dir.parent : pwd
end
def default_gemfile