Closed rominf closed 1 year ago
We do require curl
and tar
, so checking if those exist prior to using them is a great suggestion, thanks!
We no longer use gzip
, though, so you must be running an old version of Fisher. 🤓
I've followed the instructions just today. Here is the line copied from the bootstrap script with redirection to /dev/null
deleted and substituted URL.
rominf@tumbleweed /tmp> curl --silent -L https://api.github.com/repos/jorgebucaran/fisher/tarball/HEAD | tar -xzC tmp -f -
tar (grandchild): gzip: Cannot exec: No such file or directory
tar (grandchild): Error is not recoverable: exiting now
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
I don't know what instructions or bootstrap script you are referring to, but those aren't Fisher installation instructions.
To install Fisher see: https://github.com/jorgebucaran/fisher#installation
I wouldn't expect this code to work while inside the tmp
directory.
rominf@tumbleweed /tmp> curl .../tarball/HEAD | tar -xzC tmp -f -
I propose to check requirements (
curl
,gzip
,tar
, ?) and give a hint what is missing. I've figured out aboutcurl
andtar
quite quickly. However, it took a few minutes to understand thatgzip
was missing since the error message was wrong (fisher: Invalid plugin name or host unavailable: "jorgebucaran/fisher"
) and stderr was redirected to/dev/null
.