From 2e29bd6ce08bd52b15d94bc35bb443874565edb3 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Fri, 25 Aug 2023 15:43:43 -0400 Subject: [PATCH] [ruby/yarp] Use .rb suffix to find version file https://github.com/ruby/yarp/commit/7c530c79c2 --- yarp/templates/template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarp/templates/template.rb b/yarp/templates/template.rb index 59a779be1f..944cb7edc5 100755 --- a/yarp/templates/template.rb +++ b/yarp/templates/template.rb @@ -4,7 +4,7 @@ require "erb" require "fileutils" require "yaml" -if File.exist?(File.expand_path("../lib/yarp/version", __dir__)) +if File.exist?(File.expand_path("../lib/yarp/version.rb", __dir__)) # Within the gem/local repository require_relative "../lib/yarp/version" else