ruby-on-rails - 错误 : Could not find GNU compatible version of 'tar' command while installing RVM

标签 ruby-on-rails ruby macos rvm gnu

我正在尝试按照这篇文章中的说明进行操作: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/

相关文章:

ruby-on-rails - MongoDB:不同的应用程序连接到不同的副本

ruby-on-rails - 如何使用特定版本的 rails 创建新的 rails 应用程序?

ruby-on-rails - 处理 2 个模型之间的 4 种关系的最佳方法是什么?

ruby-on-rails - ruby on rails 登录 facebook 获取信息

ruby-on-rails - 如何在 Ruby on Rails 中获取月份名称?

java - 如何使用 netbeans 在 mac 上更改 java 应用程序的默认图标?

ruby-on-rails - 语法错误意外 tSTRING_BEG

ruby - 安装 Gherkin 2.1.5 的故障排除

css - 如果 textarea 的父项都没有固定大小,为什么它不接受相对字体大小? (火狐 18.0 Mac)

swift - 在 OSX 上录制音频(AVAudioSession 不可用)