From 91d7d0c0385b1778f6a53bbd947ce4dcc9de0b57 Mon Sep 17 00:00:00 2001 From: Federico Builes Date: Tue, 14 Dec 2010 03:33:58 -0500 Subject: [PATCH] Use HTTPS in Github URLs. [#6162 state:resolved] * Task :update_ujs in railties/Rakefile failed with "redirection forbidden" in Ruby 1.8.7. --- railties/Rakefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/railties/Rakefile b/railties/Rakefile index 5137bee..1b46954 100755 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -46,8 +46,8 @@ task :generate_guides do end task :update_ujs do - system "curl http://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/prototype_ujs.js" - system "curl http://github.com/rails/jquery-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/jquery_ujs.js" + system "curl https://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/prototype_ujs.js" + system "curl https://github.com/rails/jquery-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/jquery_ujs.js" end # Validate guides ------------------------------------------------------------------------- -- 1.7.3.1.45.g9855b