summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2019-03-14 19:49:11 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2019-03-14 19:49:11 +0900
commita9d0f7ca8fd8f4fd98899c24504013933676d5ee (patch)
tree7c4481d30d0d50b8f69db6c05e6bc0e73d2637df /lib
parent8d67130757841916486b47a0cf914af8dc3f1f4c (diff)
downloadbundler-a9d0f7ca8fd8f4fd98899c24504013933676d5ee.tar.gz
rubocop -a
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb
index 808404f858..448972115d 100644
--- a/lib/bundler/fetcher.rb
+++ b/lib/bundler/fetcher.rb
@@ -298,7 +298,7 @@ module Bundler
store.set_default_paths
rubygems_certs_dir = File.expand_path("../../rubygems/ssl_certs", __FILE__)
- unless File.exists?(rubygems_certs_dir)
+ unless File.exist?(rubygems_certs_dir)
rubygems_certs_dir = File.join(RbConfig::CONFIG["rubylibdir"], "rubygems", "ssl_certs")
end
certs = File.join(rubygems_certs_dir, "*", "*.pem")