irb(main):001:0> require 'open-uri' => true irb(main):002:0> open('https://repo1.maven.org/maven2/com/facebook/presto/presto-server/0.117/presto-server-0.117.tar.gz.sha1') do |f| irb(main):003:1* sha1_string = f.read irb(main):004:1> end RuntimeError: Non-HTTP proxy URI: https://10.159.32.155:8080/ from /usr/lib64/ruby/2.2.0/open-uri.rb:257:in `open_http' from /usr/lib64/ruby/2.2.0/open-uri.rb:736:in `buffer_open' from /usr/lib64/ruby/2.2.0/open-uri.rb:211:in `block in open_loop' from /usr/lib64/ruby/2.2.0/open-uri.rb:209:in `catch' from /usr/lib64/ruby/2.2.0/open-uri.rb:209:in `open_loop' from /usr/lib64/ruby/2.2.0/open-uri.rb:150:in `open_uri' from /usr/lib64/ruby/2.2.0/open-uri.rb:716:in `open' from /usr/lib64/ruby/2.2.0/open-uri.rb:34:in `open' from (irb):2 from /usr/bin/irb:11:in `
' irb(main):005:0> open('http://repo1.maven.org/maven2/com/facebook/presto/presto-server/0.117/presto-server-0.117.tar.gz.sha1') do |f| irb(main):006:1* sha1_string = f.read irb(main):007:1> end => "dcadf9c04e2fd83e64a9801d48c84694a0f6d189"