Skip to content

Commit 6820fab

Browse files
committed
Use base: with Dir.glob for bundler.gemspec
1 parent 83e0807 commit 6820fab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/bundler/bundler.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
3434
# It should match the RubyGems version shipped with `required_ruby_version` above
3535
s.required_rubygems_version = ">= 3.4.1"
3636

37-
s.files = Dir.glob("lib/bundler{.rb,/**/*}", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
37+
s.files = Dir.glob("lib/bundler{.rb,/**/*}", File::FNM_DOTMATCH, base: File.expand_path('../../..', __FILE__)).reject {|f| File.directory?(f) }
3838

3939
# include the gemspec itself because warbler breaks w/o it
4040
s.files += %w[lib/bundler/bundler.gemspec]

0 commit comments

Comments
 (0)