From d7d10f3ee85ecd1a1d59a60b8c35d85602250d87 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sun, 17 Dec 2023 05:45:33 +0800 Subject: [PATCH] Adjust rubygems style --- spec/bundler/support/path.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb index f0f701a7cb..3dbc553c01 100644 --- a/spec/bundler/support/path.rb +++ b/spec/bundler/support/path.rb @@ -81,7 +81,7 @@ module Spec def shipped_files @shipped_files ||= if ruby_core_tarball? - loaded_gemspec.files.map{|f| f.gsub(/^exe\//, "libexec/")} + loaded_gemspec.files.map {|f| f.gsub(%r{^exe/}, "libexec/") } elsif ruby_core? tracked_files else