RVM install, GPG signature verification failed

問題

久しぶりに RVM で ruby のインストールを実行したら、
下記のような内容を出力して、止まってしまった。

[vagrant@vagrant-centos-6 ~]$ \curl -sSL https://get.rvm.io | sudo bash -s stable --ruby=2.0.0
Downloading https://github.com/wayneeseguin/rvm/archive/1.26.0.tar.gz
Downloading https://github.com/wayneeseguin/rvm/releases/download/1.26.0/1.26.0.tar.gz.asc
gpg: 20141029105206秒 BRSTにRSA鍵ID BF04FF17で施された署名
gpg: 署名を検査できません: No public key
Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.
Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).

GPG signature verification failed for '/usr/local/rvm/archives/rvm-1.26.0.tgz' - 'https://github.com/wayneeseguin/rvm/releases/download/1.26.0/1.26.0.tar.gz.asc'!
try downloading the signatures:

    gpg2 --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3

they can be compared with:

    https://rvm.io/mpapis.asc
    https://keybase.io/mpapis

解決方法

この問題は、一時的なもののようだ。
今日の時点(2014-11-06 1:37)で、GitHub に下記の issue が上がっている。

GPG verification error · Issue #278 · fnichol/chef-rvm



ひとまず下記のコマンドを実行することで、私の環境では解決した。

$ gpg2 --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3

RVM の Multi-User installations している場合は、root でも上記のコマンド実行が必要っぽい。上記のコマンドに sudo を付けて、再実行。

$ sudo gpg2 --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3