```ruby
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require "pdf-page-count/version"

Gem::Specification.new do |s|
  s.name        = "pdf-page-count"
  s.version     = PdfPageCount::VERSION
  s.summary     = "Counts the pages in single and multiple PDFs."
  s.description = "Counts the pages in single and multiple PDFs. Capable of recursively finding PDFs in directories."
  s.authors     = [ "Leigh McCulloch" ]
  s.email       = "leigh@mcchouse.com"
  s.files       = `git ls-files -z`.split("\0")
  s.homepage    = "http://rubygems.org/gems/pdf-page-count"
  s.license     = "BSD-3-Clause"
  s.executables = [ "pdf-page-count" ]
  s.add_runtime_dependency "thread", ["= 0.1.3"]
  s.add_runtime_dependency "pdf-reader", ["= 1.3.3"]
end
```

Build the executables dynamically so that if a new executable is added it will be included in the gem build.
user
```ruby
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require "pdf-page-count/version"

Gem::Specification.new do |s|
  s.name        = "pdf-page-count"
  s.version     = PdfPageCount::VERSION
  s.summary     = "Counts the pages in single and multiple PDFs."
  s.description = "Counts the pages in single and multiple PDFs. Capable of recursively finding PDFs in directories."
  s.authors     = [ "Leigh McCulloch" ]
  s.email       = "leigh@mcchouse.com"
  s.files       = `git ls-files -z`.split("\0")
  s.homepage    = "http://rubygems.org/gems/pdf-page-count"
  s.license     = "BSD-3-Clause"
  s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  s.add_runtime_dependency "thread", ["= 0.1.3"]
  s.add_runtime_dependency "pdf-reader", ["= 1.3.3"]
end
```
assistant