1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Specify the executable of erb

This commit is contained in:
Hiroshi SHIBATA 2020-08-25 08:44:11 +09:00
parent 1b34d843ea
commit e6ac1fb612
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -17,6 +17,6 @@ Gem::Specification.new do |spec|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end end
spec.bindir = "exe" spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.executables = ["erb"]
spec.require_paths = ["lib"] spec.require_paths = ["lib"]
end end