From bb8923dee093b615615cdfb83b34d1b0bb254f25 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 8 Dec 2012 17:18:10 -0700 Subject: Omit directories from gemspec.files for RubyGems 2 compat. RG2 packager expects each spec.files path to be a file and bombs when it tries to tarball a dir. May revert if rubygems/rubygems#413 is accepted. --- activesupport/activesupport.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/activesupport.gemspec') diff --git a/activesupport/activesupport.gemspec b/activesupport/activesupport.gemspec index a4216d2cb4..2c536cbd05 100644 --- a/activesupport/activesupport.gemspec +++ b/activesupport/activesupport.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |s| s.email = 'david@loudthinking.com' s.homepage = 'http://www.rubyonrails.org' - s.files = Dir['CHANGELOG.md', 'MIT-LICENSE', 'README.rdoc', 'lib/**/*'] + s.files = Dir['CHANGELOG.md', 'MIT-LICENSE', 'README.rdoc', 'lib/**/*'].select { |path| File.file? path } s.require_path = 'lib' s.rdoc_options.concat ['--encoding', 'UTF-8'] -- cgit v1.2.3