aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-05-12 14:21:29 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-05-13 11:43:03 -0700
commit4c963972fd0fb696e857540351f7558f027ec962 (patch)
treeaaed54b7381ddc2d52017e2325ef1dad48ed7f08 /Rakefile
parent216309c16519d94a9e0aebf758029a78696ab8d6 (diff)
downloadrails-4c963972fd0fb696e857540351f7558f027ec962.tar.gz
rails-4c963972fd0fb696e857540351f7558f027ec962.tar.bz2
rails-4c963972fd0fb696e857540351f7558f027ec962.zip
Defer rake/contrib requires so we can use the stdlib rake instead of the full gem
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 8f4c891074..b3f7c8b642 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,5 @@
require 'rake'
require 'rake/rdoctask'
-require 'rake/contrib/sshpublisher'
env = %(PKG_BUILD="#{ENV['PKG_BUILD']}") if ENV['PKG_BUILD']
@@ -74,6 +73,7 @@ end
desc "Publish API docs for Rails as a whole and for each component"
task :pdoc => :rdoc do
+ require 'rake/contrib/sshpublisher'
Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/api", "doc/rdoc").upload
PROJECTS.each do |project|
system %(cd #{project} && #{env} #{$0} pdoc)