diff options
author | SHIBATA Hiroshi <shibata.hiroshi@gmail.com> | 2014-02-09 16:55:59 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <shibata.hiroshi@gmail.com> | 2014-02-09 16:55:59 +0900 |
commit | 95370a5c3eb96fee75dfb7852724b31cbf3e95e0 (patch) | |
tree | b82ee314f146dbdb0e10d73b22eab1909d44b4e8 /lib/bundler/installer.rb | |
parent | 662e11c6e41286d4b608de645894a9c9c93cbd9b (diff) | |
download | bundler-95370a5c3eb96fee75dfb7852724b31cbf3e95e0.tar.gz |
use File.exist? instead of File.exists?
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r-- | lib/bundler/installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index 3069843ac4..9fb31afd9a 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -172,7 +172,7 @@ module Bundler next if executable == "bundle" binstub_path = "#{bin_path}/#{executable}" - if File.exists?(binstub_path) && !options[:force] + if File.exist?(binstub_path) && !options[:force] exists << executable next end |