diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2012-12-08 17:18:10 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2012-12-08 17:18:46 -0700 |
commit | bb8923dee093b615615cdfb83b34d1b0bb254f25 (patch) | |
tree | 746316dedd59282cf9164d7217aee456a378f725 /activesupport/activesupport.gemspec | |
parent | 314e4bbaeacc91297689761308eba0d2fac29e16 (diff) | |
download | rails-bb8923dee093b615615cdfb83b34d1b0bb254f25.tar.gz rails-bb8923dee093b615615cdfb83b34d1b0bb254f25.tar.bz2 rails-bb8923dee093b615615cdfb83b34d1b0bb254f25.zip |
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.
Diffstat (limited to 'activesupport/activesupport.gemspec')
-rw-r--r-- | activesupport/activesupport.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
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'] |