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 /railties | |
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 'railties')
-rw-r--r-- | railties/railties.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/railties.gemspec b/railties/railties.gemspec index e39430560f..ec0f4266c0 100644 --- a/railties/railties.gemspec +++ b/railties/railties.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', 'bin/**/*', 'lib/**/{*,.[a-z]*}'] + s.files = Dir['CHANGELOG.md', 'README.rdoc', 'bin/**/*', 'lib/**/{*,.[a-z]*}'].select { |path| File.file? path } s.require_path = 'lib' s.bindir = 'bin' |