From 0acc575ef1c737e442aadc6d1ea2e3d7051e982a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 6 Jul 2021 15:38:04 +0900 Subject: [PATCH] Use require_relative to specify release version --- rake.gemspec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rake.gemspec b/rake.gemspec index 8e68a002b..20a1db423 100644 --- a/rake.gemspec +++ b/rake.gemspec @@ -1,6 +1,5 @@ # frozen_string_literal: true -$LOAD_PATH.unshift File.expand_path('../lib', __FILE__) -require 'rake/version' +require_relative 'lib/rake/version' Gem::Specification.new do |s| s.name = "rake".freeze