We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83e0807 commit b2e7636Copy full SHA for b2e7636
1 file changed
lib/bundler/bundler.gemspec
@@ -34,7 +34,9 @@ Gem::Specification.new do |s|
34
# It should match the RubyGems version shipped with `required_ruby_version` above
35
s.required_rubygems_version = ">= 3.4.1"
36
37
- s.files = Dir.glob("lib/bundler{.rb,/**/*}", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
+ s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
38
+ `git ls-files -z lib`.split("\x0")
39
+ end
40
41
# include the gemspec itself because warbler breaks w/o it
42
s.files += %w[lib/bundler/bundler.gemspec]
0 commit comments