Permalink
Browse files

Fix s.executables expression

It's not used in jquery-rails, but this way people copying from us will
have the right code.
  • Loading branch information...
1 parent 21af08e commit 2d78b94681a9c0c87331ba3a98f066e3c1b33214 @joliss joliss committed Mar 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery-rails.gemspec
View
2 jquery-rails.gemspec
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
s.add_dependency "thor", "~> 0.14"
s.files = `git ls-files`.split("\n")
- s.executables = `git ls-files`.split("\n").select{|f| f =~ /^bin/}
+ s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_path = 'lib'
end

0 comments on commit 2d78b94

Please sign in to comment.