tasks/bin/cross-ruby.rake in rake-compiler-0.9.2 vs tasks/bin/cross-ruby.rake in rake-compiler-0.9.3

- old
+ new

@@ -11,11 +11,11 @@ # http://tenderlovemaking.com/2008/11/21/cross-compiling-ruby-gems-for-win32/ # http://github.com/jbarnette/johnson/tree/master/cross-compile.txt # http://eigenclass.org/hiki/cross+compiling+rcovrt # # This recipe only cleanup the dependency chain and automate it. -# Also opens the door to usage different ruby versions +# Also opens the door to usage different ruby versions # for cross-compilation. # require 'rake' require 'rake/clean' @@ -77,10 +77,10 @@ # download the source file using wget or curl chdir File.dirname(t.name) do if RUBY_SOURCE url = RUBY_SOURCE else - url = "http://ftp.ruby-lang.org/pub/ruby/#{MAJOR}/#{File.basename(t.name)}" + url = "http://cache.ruby-lang.org/pub/ruby/#{MAJOR}/#{File.basename(t.name)}" end sh "wget #{url} || curl -O #{url}" end end