[ruby/yarp] Use .rb suffix to find version file
https://github.com/ruby/yarp/commit/7c530c79c2
This commit is contained in:
parent
d2392e1ce2
commit
2e29bd6ce0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user