summaryrefslogtreecommitdiff
path: root/spec/bundler/support
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-12-17 05:45:33 +0800
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-12-17 05:45:33 +0800
commitd7d10f3ee85ecd1a1d59a60b8c35d85602250d87 (patch)
tree9642f84de98d3e8d327104eb07397b3fd5f6bf16 /spec/bundler/support
parent8db0de92a8454b449efb243f380f5d2b68c38d7c (diff)
Adjust rubygems style
Diffstat (limited to 'spec/bundler/support')
-rw-r--r--spec/bundler/support/path.rb2
1 files changed, 1 insertions, 1 deletions
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