summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-08-25 08:44:11 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-08-25 08:44:14 +0900
commite6ac1fb6121d6cb694d107f205713d92b7b4a427 (patch)
treedc26a82d6a5b3c63aeddefc6e04b6de58d698a20
parent1b34d843ead7be5e782d945bee1fbc9b519a2282 (diff)
Specify the executable of erb
-rw-r--r--lib/erb.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erb.gemspec b/lib/erb.gemspec
index f58f61be3a9..54d67c8a65b 100644
--- a/lib/erb.gemspec
+++ b/lib/erb.gemspec
@@ -17,6 +17,6 @@ Gem::Specification.new do |spec|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = "exe"
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.executables = ["erb"]
spec.require_paths = ["lib"]
end