安装RVM时出现错误:找不到GNU兼容版本的'tar'命令

3
我正在尝试按照这篇文章的说明:http://net.tutsplus.com/tutorials/ruby/how-to-install-ruby-on-a-mac/在我的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的博客文章中找到了这条命令,但它并没有起到帮助的作用。

在谷歌上搜索后,我没有找到其他人遇到过这个错误。有人有任何建议吗?

1个回答

0

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接