1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool/get-config_files

13 lines
256 B
Text
Raw Normal View History

#!/usr/bin/ruby
require File.expand_path('../downloader', __FILE__)
ARGV.each {|n|
STDOUT.print "Downloading #{n}..."; STDOUT.flush
begin
Downloader.download(n)
STDOUT.puts
rescue => e
STDOUT.puts
abort("#{$0}: #{e.message}")
end
}