Skip to content

Commit

Permalink
fix: ignore vendor/bundle when creating gem (#515)
Browse files Browse the repository at this point in the history
Fixes: #514
  • Loading branch information
subzero10 authored Dec 22, 2023
1 parent 420ff41 commit a38658f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion honeybadger.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Gem::Specification.new do |s|

s.files = Dir['lib/**/*.{rb,erb}']
s.files += Dir['bin/*']
s.files += Dir['vendor/**/*.{rb,rake,cap}']
# CI installs caches installed gems in vendor/bundle, but we don't want to include them in the gem.
s.files += Dir['vendor/**/*.{rb,rake,cap}'].reject { |file| file.start_with?("vendor/bundle") }
s.files += Dir['resources/**/*.crt']
s.files += Dir['*.md']
s.files += ['LICENSE']
Expand Down

0 comments on commit a38658f

Please sign in to comment.