This tutorial goes through how to install openssl 1.1.1 on CentOS 7, since the yum repo only installs up to openssl 1.0.
Upgrade the system
yum -y update
require 'open-uri' | |
# Net::HTTP.get(uri) does't work for binary files. File gets corrupted. | |
# | |
# File is opended in binary write mode "wb". The "open" method is provided | |
# by open-uri and is considered unsafe for user input! The "rb" stands for | |
# binary read mode. | |
# | |
# IO.copy_stream does not load the whole file in memory. | |
# |