I am trying to install the Ruby Version Manager( RVM) on my CentOS 6.6 machine.
I followed the instructions on the home page at https://rvm.io/rvm/install
When I run this command :
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
I keep getting the error :
gpg: requesting key D39DC0E3 from hkp server keys.gnupg.net
gpgkeys: HTTP fetch error 6: Couldn't resolve host 'keys.gnupg.net'
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
Does anyone know how to resolve this?
Thanks IS
RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.
∞RVM PackagesThis functionality has been deprecated by autolibs which is now enabled by default, however if you still need it - it is there.
You can download the signature and import it manually.
curl -#LO https://rvm.io/mpapis.asc
gpg --import mpapis.asc
And now install RVM. That should work
\curl -sSL https://get.rvm.io | bash
Note:
If you have a .gnupg
directory, remove it first.
rm -rf ~/.gnupg/
The one at fault here is virtualbox
's dns proxy. The issue manifests itself only under vagrant
, because the latter enables it (dns proxy). By default it's disabled. So, one way to remedy it is to disable dns proxy (VBoxManage modifyvm ... --natdnsproxy off
). Or change 10.0.2.3
in /etc/resolv.conf
to your host's resolver IP address. And do gpg
again, while it didn't change. Or, do gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys D39DC0E3
. Which succeeds for a reason I don't understand.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With