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 /actionmailer/actionmailer.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 'actionmailer/actionmailer.gemspec')
-rw-r--r-- | actionmailer/actionmailer.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/actionmailer.gemspec b/actionmailer/actionmailer.gemspec index 67ec0d1097..ea6df10a6f 100644 --- a/actionmailer/actionmailer.gemspec +++ b/actionmailer/actionmailer.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', 'README.rdoc', 'MIT-LICENSE', 'lib/**/*'] + s.files = Dir['CHANGELOG.md', 'README.rdoc', 'MIT-LICENSE', 'lib/**/*'].select { |path| File.file? path } s.require_path = 'lib' s.requirements << 'none' |