File.exists? must cease to exist

bug/bundler_fix
Jon Hart 2016-05-24 13:53:26 -07:00
parent 48c25dd863
commit a23ce05752
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class OptPath < OptBase
if value =~ /^memory:\s*([0-9]+)/i
return false unless check_memory_location($1)
else
unless File.exists?(File.expand_path(value))
unless File.exist?(File.expand_path(value))
return false
end
end