Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

strip bin off of executables

  • Loading branch information...
commit 1808e16ffd121196384875967a709052fc2c83cc 1 parent de33115
Joshua Hull joshbuddy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/bundler/templates/newgem/newgem.gemspec.tt
2  lib/bundler/templates/newgem/newgem.gemspec.tt
View
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
s.add_development_dependency "bundler", ">= <%=Bundler::VERSION%>"
s.files = `git ls-files`.split("\n")
- s.executables = `git ls-files`.split("\n").select{|f| f =~ /^bin/}
+ s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
s.require_path = 'lib'
end
Please sign in to comment.
Something went wrong with that request. Please try again.