--- a/rspec-core.gemspec
+++ b/rspec-core.gemspec
@@ -13,11 +13,10 @@
   s.summary     = "rspec-core-#{RSpec::Core::Version::STRING}"
   s.description = "BDD for Ruby. RSpec runner and example groups."
 
-  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.bindir           = 'exe'
-  s.executables      = `git ls-files -- exe/*`.split("\n").map{ |f| File.basename(f) }
+  s.executables      = Dir["exe/*"].map{ |f| File.basename(f) }
   s.rdoc_options     = ["--charset=UTF-8"]
   s.require_path     = "lib"