postmodern / ruby-install

Installs Ruby, JRuby, TruffleRuby, or mruby
MIT License
1.89k stars 250 forks source link

`zcat` does not accept a file argument on macOS #460

Closed postmodern closed 11 months ago

postmodern commented 1 year ago

It appears that macOS's version of zcat does not accept a PATH argument. Instead, the .gz file to read must be redirected into zcat. The extract function should be changed to use zcat < "$archive" | ... instead.

postmodern commented 11 months ago

We don't actually use zcat directly.