diff --git a/exception_notification.gemspec b/exception_notification.gemspec index 0cdca993..490ac8ed 100644 --- a/exception_notification.gemspec +++ b/exception_notification.gemspec @@ -6,7 +6,7 @@ Gem::Specification.new do |s| s.summary = "Exception notification by email for Rails apps" s.email = "smartinez87@gmail.com" - s.files = Dir['Rakefile', '.gemtest', 'README.md' 'lib/**/*'] + s.files = `git ls-files -- lib`.split("\n") + %w(Rakefile .gemtest README.md) s.test_files = Dir.glob "test/**/*_test.rb" s.require_path = 'lib'