Skip to content

Commit 43b65af

Browse files
committed
Added executables parameter to gemspec for files in bin/
.. this is needed so that rubygems knows to create an wrapper in its bin directory to the script so it will be in the user's PATH.
1 parent 1844ca4 commit 43b65af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jmespath.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ Gem::Specification.new do |spec|
88
spec.homepage = 'http://github.com/trevorrowe/jmespath.rb'
99
spec.license = 'Apache-2.0'
1010
spec.require_paths = ['lib']
11+
spec.executables = Dir['bin/**'].map &File.method(:basename)
1112
spec.files = Dir['lib/**/*.rb'] + ['LICENSE.txt']
1213
end

0 commit comments

Comments
 (0)