diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-11 19:49:11 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-11 19:49:11 -0700 |
commit | 22c5667c2ef46d6723c1805d3adc52dc8e92429b (patch) | |
tree | 6dda3152456f9dca9f1eb1c75487a893fe564552 /actionpack/Rakefile | |
parent | a2875bec9a31702a385d2f34e66843ddbe4e9db2 (diff) | |
download | rails-22c5667c2ef46d6723c1805d3adc52dc8e92429b.tar.gz rails-22c5667c2ef46d6723c1805d3adc52dc8e92429b.tar.bz2 rails-22c5667c2ef46d6723c1805d3adc52dc8e92429b.zip |
Defer rake/contrib/sshpublisher require so we can use the stdlib rake instead of the full gem
Diffstat (limited to 'actionpack/Rakefile')
-rw-r--r-- | actionpack/Rakefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 18610ed773..ef76eedfd7 100644 --- a/actionpack/Rakefile +++ b/actionpack/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_pack', 'version') PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' @@ -143,12 +142,14 @@ task :update_js => [ :update_scriptaculous ] 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/ap", "doc").upload end |