aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'actionmailer/Rakefile')
-rw-r--r--actionmailer/Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile
index ebcca0d246..0224bb2cf4 100644
--- a/actionmailer/Rakefile
+++ b/actionmailer/Rakefile
@@ -78,6 +78,11 @@ Rake::GemPackageTask.new(spec) do |p|
p.need_zip = true
end
+task :gemspec do
+ File.open(File.join(File.dirname(__FILE__), "#{spec.name}.gemspec"), "w") do |file|
+ file.puts spec.to_ruby
+ end
+end
desc "Publish the API documentation"
task :pgem => [:package] do