From 82cc153fb7c5dad7069a100992cd528ca09ff440 Mon Sep 17 00:00:00 2001 From: Fredrik Palmkron Date: Fri, 31 Mar 2023 21:40:04 +0200 Subject: [PATCH] Replace deprecated/removed `File.exists?` alias --- spec/performance/benchmark.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/performance/benchmark.rb b/spec/performance/benchmark.rb index 938131e5..a925f094 100644 --- a/spec/performance/benchmark.rb +++ b/spec/performance/benchmark.rb @@ -1,6 +1,6 @@ require 'rubygems' 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']) Bundler.require :default require "benchmark"