安装rvm结果bash:没有这样的文件或目录

我已经安装了cygwinbash,curl等最新的二进制文件。

每次我运行命令curl -L https://get.rvm.io | bash -s stable curl -L https://get.rvm.io | bash -s stable ,我得到相同的结果:

 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 184 100 184 0 0 114 0 0:00:01 0:00:01 --:--:-- 136 100 22726 100 22726 0 0 12556 0 0:00:01 0:00:01 --:--:-- 157k Downloading https://github.com/wayneeseguin/rvm/archive/1.26.3.tar.gz Downloading https://github.com/wayneeseguin/rvm/releases/download/1.26.3/1.26.3.tar.gz.asc bash: line 400: /cygdrive/c/Program: No such file or directory 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 '/home/euser/.rvm/archives/rvm-1.26.3.tgz' - 'https://github.com/wayneeseguin/rvm/releases/download/1.26.3/1.26.3.tar.gz.a sc'! try downloading the signatures: gpg2 --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 or if it fails: command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - the key can be compared with: https://rvm.io/mpapis.asc https://keybase.io/mpapis 

我认为主要问题是“没有这样的文件或目录”,但它可能是一个红鲱鱼。 我已经按照上面的命令安装了所有的证书。 由于'bash'程序是一个可执行文件,我不知道如何跟踪导致这个错误的文件path – 可能是任何东西。

有人知道我该如何解决这个问题吗?

这里有两个问题

  1. 他们没有引用一个变量${rvm_gpg_command}

  2. 你的路径gpg有一个空间

其中一个需要修复。 快速解决方法是安装Cygwin软件包gnupg

另外,我做了一个坚实的 。


更新由@mpapis:它被合并,使用它运行:

 curl -L https://get.rvm.io | 庆典

-s stable部分必须从命令中移除(尚未合并到稳定状态 )。

您可以下载签名并手动导入:

卷曲 – #LO https://rvm.io/mpapis.asc

gpg –import mpapis.asc

这将解决您的问题。