aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index 78253d843d..bef6921494 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -267,7 +267,7 @@ PKG_FILES = FileList[
'generators/**/*',
'html/**/*',
'lib/**/*'
-]
+] - [ 'test' ]
spec = Gem::Specification.new do |s|
s.name = 'rails'
@@ -302,6 +302,7 @@ spec = Gem::Specification.new do |s|
end
Rake::GemPackageTask.new(spec) do |pkg|
+ pkg.gem_spec = spec
end