diff --git a/lib/optparse/optparse.gemspec b/lib/optparse/optparse.gemspec index 831c787ac7..b8ec8cf5d8 100644 --- a/lib/optparse/optparse.gemspec +++ b/lib/optparse/optparse.gemspec @@ -28,6 +28,6 @@ Gem::Specification.new do |spec| } end spec.bindir = "exe" - spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } + spec.executables = [] spec.require_paths = ["lib"] end