1 diff --git a/toml.gemspec b/toml.gemspec
2 index 67f5493..e70c14d 100644
5 @@ -30,8 +30,6 @@ Gem::Specification.new do |s|
7 s.add_development_dependency "rake"
9 - all_files = `git ls-files -z`.split("\x0")
10 - s.files = all_files.grep(%r{^(bin|lib)/})
11 - s.executables = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
12 + s.files = `find . -print0`.split("\u0000").grep(/.\/lib/)
13 s.require_paths = ["lib"]