aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/Rakefile
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-06-08 20:49:21 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-06-08 20:49:21 -0700
commite9a6255938e5f860ab367a1a304409821398e36b (patch)
treea31c8f3cd7e1aa74049a8a54734371764bb6a8e0 /actionmailer/Rakefile
parent23f3b567e2983a295937b40e142f965188f7c83c (diff)
downloadrails-e9a6255938e5f860ab367a1a304409821398e36b.tar.gz
rails-e9a6255938e5f860ab367a1a304409821398e36b.tar.bz2
rails-e9a6255938e5f860ab367a1a304409821398e36b.zip
Lazier Rakefile requires to avoid needing full rake gem on 1.9
Diffstat (limited to 'actionmailer/Rakefile')
-rw-r--r--actionmailer/Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile
index 24c25abc8b..5475ffa493 100644
--- a/actionmailer/Rakefile
+++ b/actionmailer/Rakefile
@@ -4,7 +4,6 @@ require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/packagetask'
require 'rake/gempackagetask'
-require 'rake/contrib/sshpublisher'
require File.join(File.dirname(__FILE__), 'lib', 'action_mailer', 'version')
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
@@ -82,12 +81,14 @@ end
desc "Publish the API documentation"
task :pgem => [:package] do
+ require 'rake/contrib/sshpublisher'
Rake::SshFilePublisher.new("gems.rubyonrails.org", "/u/sites/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
`ssh gems.rubyonrails.org '/u/sites/gems/gemupdate.sh'`
end
desc "Publish the API documentation"
task :pdoc => [:rdoc] do
+ require 'rake/contrib/sshpublisher'
Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/am", "doc").upload
end