Skip to content

Commit 96bab46

Browse files
committed
Use File.exist? instead of File.exists?
To suppress the following warning from Ruby: ``` warning: File.exists? is a deprecated name, use File.exist? instead ``` `File.exist?` is defined in current supported Ruby versions.
1 parent 7492861 commit 96bab46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dummy/config/boot.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Set up gems listed in the Gemfile.
22
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
33

4-
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
4+
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])

0 commit comments

Comments
 (0)