Permalink
Browse files

strip bin off of executables

  • Loading branch information...
1 parent de33115 commit 1808e16ffd121196384875967a709052fc2c83cc @joshbuddy joshbuddy committed Aug 16, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/templates/newgem/newgem.gemspec.tt
View
2 lib/bundler/templates/newgem/newgem.gemspec.tt
@@ -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

0 comments on commit 1808e16

Please sign in to comment.