mirror of
https://github.com/elastic/logstash.git
synced 2025-04-21 21:27:20 -04:00
This PR chagne the File's open mode to make sure we correctly download the file in binary mode on windows, without doing that the gem will be corrupt and will throw the following message. ``` ERROR: While executing gem ... (Gem::Package::FormatError) package is corrupt, exception while verifying: Unexpected end of ZLIB input stream (Zlib::GzipFile::Error) in logstash-filter-dissect-1.0.8.gem ``` Fixes #6840
124 B
124 B
0.2.1
- Making sure the gems are downloaded in binary format, without it, gems downloaded on windows will be corrupted.