Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/68.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 错误:找不到与GNU兼容的版本';焦油';安装RVM时的命令_Ruby On Rails_Ruby_Macos_Rvm_Gnu - Fatal编程技术网

Ruby on rails 错误:找不到与GNU兼容的版本';焦油';安装RVM时的命令

Ruby on rails 错误:找不到与GNU兼容的版本';焦油';安装RVM时的命令,ruby-on-rails,ruby,macos,rvm,gnu,Ruby On Rails,Ruby,Macos,Rvm,Gnu,我试图按照这篇文章中的说明进行操作: 在我的Mac上安装Ruby。但是我得到了这个错误: RyanT:~$ \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload

我试图按照这篇文章中的说明进行操作:

在我的Mac上安装Ruby。但是我得到了这个错误:

RyanT:~$ \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
100 15790  100 15790    0     0  14754      0  0:00:01  0:00:01 --:--:-- 14754

ERROR: Could not find GNU compatible version of 'tar' command, make sure it's available first before continuing installation.
我确实运行了这个:

brew install gnu-tar --default-names
在一篇关于GNU的博客文章中找到了这个命令。然而,这没有帮助


在谷歌搜索时,我找不到其他有这个错误的人。有人有什么建议吗?

这是一个bug,应该通过以下方式修复:

如果仍然存在未解决的rvm问题: