diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2023-08-25 15:43:43 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-08-25 19:43:49 +0000 |
| commit | 2e29bd6ce08bd52b15d94bc35bb443874565edb3 (patch) | |
| tree | 11cff60250ab3ab731cc6becca67c16f3bab6c5a | |
| parent | d2392e1ce2b9fb113ca19cdcae2a2fe7f8a3c8ec (diff) | |
[ruby/yarp] Use .rb suffix to find version file
https://github.com/ruby/yarp/commit/7c530c79c2
| -rwxr-xr-x | yarp/templates/template.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
