diff options
author | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2015-10-09 12:24:06 -0400 |
---|---|---|
committer | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2015-10-09 12:24:06 -0400 |
commit | 247f664058e9413d3be43063434b2cdbfbe09ee9 (patch) | |
tree | b0a2a54bcf192dfdd30edf4ab53c967e88e2e173 /chef.gemspec | |
parent | 057d2ee6a2c3b66430bf2259bba6e77331d3b958 (diff) | |
download | chef-247f664058e9413d3be43063434b2cdbfbe09ee9.tar.gz |
Add gemspec files to allow bundler to run from the gem
Diffstat (limited to 'chef.gemspec')
-rw-r--r-- | chef.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef.gemspec b/chef.gemspec index b1abe7670a..96673f391a 100644 --- a/chef.gemspec +++ b/chef.gemspec @@ -52,5 +52,5 @@ Gem::Specification.new do |s| s.executables = %w( chef-client chef-solo knife chef-shell chef-apply ) s.require_path = 'lib' - s.files = %w(Gemfile Rakefile LICENSE README.md CONTRIBUTING.md) + Dir.glob("{distro,lib,tasks,spec}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) } + s.files = %w(Gemfile Rakefile LICENSE README.md CONTRIBUTING.md) + Dir.glob("{distro,lib,tasks,spec}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) } + Dir.glob("*.gemspec") end |