Skip to content

Commit c93d98c

Browse files
hsbtCopilot
andauthored
Update lib/bundler/bundler.gemspec
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6820fab commit c93d98c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/bundler/bundler.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ 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, base: File.expand_path('../../..', __FILE__)).reject {|f| File.directory?(f) }
37+
base = File.expand_path('../../..', __FILE__)
38+
s.files = Dir.glob("lib/bundler{.rb,/**/*}", File::FNM_DOTMATCH, base: base).reject {|f| File.directory?(File.join(base, f)) }
3839

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

0 commit comments

Comments
 (0)