简体   繁体   English

RVM 安装错误

[英]RVM Installation Errors

I'm having some issues regarding the installation of RVM.我在安装 RVM 时遇到了一些问题。 I'm working with a freshly clean-installed mac, so previous folders and that sort of thing shouldn't be an issue.我正在使用全新安装的 mac,所以以前的文件夹和类似的东西应该不是问题。 The steps I've taken so far are as follows:到目前为止,我采取的步骤如下:

  1. Downloaded XCode Command Line Tools下载的 XCode 命令行工具
  2. Installed Homebrew安装 Homebrew
  3. Verified I had Git installed验证我安装了 Git
  4. Used Homebrew to install gpg使用 Homebrew 安装 gpg
  5. Installed the gpg key thing安装了gpg关键的东西
  6. Used the \\curl -L https://get.rvm.io | bash -s stable使用\\curl -L https://get.rvm.io | bash -s stable \\curl -L https://get.rvm.io | bash -s stable command to try to install RVM, and was met with this error: \\curl -L https://get.rvm.io | bash -s stable命令尝试安装 RVM,并遇到此错误:

    df: /Users/rohan/.rvm: No such file or directory df: /Users/rohan/.rvm: 没有那个文件或目录

I assumed that the command in number 6 automatically created the .rvm folder, so I'm a little unsure of how to proceed.我假设编号 6 中的命令自动创建了 .rvm 文件夹,所以我有点不确定如何继续。 Any help would be greatly appreciated!任何帮助将不胜感激!

I was experiencing the same issue and now it works!我遇到了同样的问题,现在它可以工作了! You did nothing wrong.你没有做错任何事。 It's something wrong with the RVM website. RVM 网站有问题。 Try to run the same command again and you will see everything works now!尝试再次运行相同的命令,您将看到现在一切正常!

You can do these steps as below:您可以执行以下步骤:

  1. gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
  2. \\curl -sSL https://get.rvm.io | \\curl -sSL https://get.rvm.io | bash -s stable bash -s 稳定

for more informations, you can check at official document: http://rvm.io/有关更多信息,您可以查看官方文档: http : //rvm.io/

update : You can try to do this command更新:您可以尝试执行此命令

curl -sSL https://rvm.io/mpapis.asc | gpg --import -

then run \\curl -sSL https://get.rvm.io | bash -s stable然后运行\\curl -sSL https://get.rvm.io | bash -s stable \\curl -sSL https://get.rvm.io | bash -s stable again \\curl -sSL https://get.rvm.io | bash -s stable再次\\curl -sSL https://get.rvm.io | bash -s stable

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM