Regarding the file list for gemspecs.
I noticed that the jeweler updates this list manually using the list of files in the project. eg
Gem::Specification.new do |s| # stuff s.files = [ "lib/somegem.rb", "README.md" ] # ... more stuff end
Is there any evidence that using git ls-files or Dir.glob('**/*') to dynamically create a list of files for gemspec causes performance problems when using gems inside projects (especially rails projects)? eg?
Gem::Specification.new do |s| # stuff s.files = `git ls-files`.split("\n") # ... more stuff end
source share