From 0f6b335a22b0ccc8ea0ce25f7c4b1a29b9ad06da Mon Sep 17 00:00:00 2001 From: Nihal Mohammed Date: Mon, 14 Mar 2022 17:44:04 +0530 Subject: [PATCH] Change deprecated syntax File.exists? to File.exist? --- config/boot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/boot.rb b/config/boot.rb index eafbdb18d7..4d788c0a5a 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -3,5 +3,5 @@ require 'rubygems' # Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) -require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) +require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) require 'bootsnap/setup'