After I migrating my MacBook, I found out I miss the command gpg
.
And it threw this error when I wanted to install rvm
⋊> ~ gpg 15:39:34
dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
Referenced from: /usr/local/bin/gpg
Reason: image not found
fish: 'gpg' terminated by signal SIGABRT (Abort)
I have tried the following way to fix it, but none of them works.
brew upgrade gnupg
brew unlink gnupg
brew link gnupg
Furthermore, I don't have this folder /usr/local/opt/gettext/.
Did I need to install something to fix this issue?
Update
I put the output of brew doctor
here
https://gist.github.com/fifiteen82726/fae106018447e868d64ff1a9d3e6266a
GPG
(gpgtools.org), and it works.