From e7bbbc83f6f6956f47cee5fe559659c1853c131d Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Fri, 8 Aug 2025 14:59:40 -0600 Subject: [PATCH] only try to load candidate tasks if the submodule has been loaded --- Rakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index a6d137394..12ac46690 100644 --- a/Rakefile +++ b/Rakefile @@ -25,7 +25,9 @@ require "rake/extensiontask" require "rspec/core/rake_task" require 'fileutils' -load 'spec/shared/lib/tasks/candidate.rake' +if File.exist?('./spec/shared/lib/tasks/candidate.rake') + load './spec/shared/lib/tasks/candidate.rake' +end def jruby? defined?(JRUBY_VERSION)