我正在尝试按照这篇文章中的说明进行操作: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 的流浪博客文章中找到了该命令。然而这并没有帮助。
在 Google 上搜索我找不到其他人遇到此错误。有人有什么建议吗?
最佳答案
这是一个错误,应该通过以下方式修复:https://github.com/wayneeseguin/rvm/commit/b6e3993614b3cad50d5b0336f80c693fabafa6e0
如果它仍然在这里打开 rvm 问题:https://github.com/wayneeseguin/rvm/issues
关于ruby-on-rails - 错误 : Could not find GNU compatible version of 'tar' command while installing RVM,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18623369/