diff options
-rwxr-xr-x | railties/Rakefile | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index c4a91a1d36..d1331deac3 100755 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -60,12 +60,3 @@ task :release => :package do Rake::Gemcutter::Tasks.new(spec).define Rake::Task['gem:push'].invoke end - -desc "Publish the guides" -task :pguides => :generate_guides do - require 'rake/contrib/sshpublisher' - mkdir_p 'pkg' - `tar -czf pkg/guides.gz guides/output` - Rake::SshFilePublisher.new("web.rubyonrails.org", "/u/sites/guides.rubyonrails.org/public", "pkg", "guides.gz").upload - `ssh web.rubyonrails.org 'cd /u/sites/guides.rubyonrails.org/public/ && tar -xvzf guides.gz && mv guides/output/* . && rm -rf guides*'` -end |