brew uninstall --ignore-dependencies node icu4c
brew install node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
# |