--- a/rspec-mocks.gemspec
+++ b/rspec-mocks.gemspec
@@ -13,8 +13,7 @@
   s.summary     = "rspec-mocks-#{RSpec::Mocks::Version::STRING}"
   s.description = "RSpec's 'test double' framework, with support for stubbing and mocking"
 
-  s.files            = `git ls-files -- lib/*`.split("\n")
-  s.files           += %w[README.md LICENSE.md Changelog.md .yardopts .document]
+  s.files            = Dir["lib/**/*"]
   s.test_files       = []
   s.rdoc_options     = ["--charset=UTF-8"]
   s.require_path     = "lib"