ERROR: Could not find 'which' command, make sure it's available first before continuing installation

ERROR: Could not find 'which' command, make sure it's available first before continuing installation

我正在尝试在 Cent-OS 中部署 rails 应用程序。当我 运行 curl -L get.rvm.io | bash -s stable 设置 ruby 环境时。 我得到以下输出

[root@186-aven-vps marketeurepo]# curl -L get.rvm.io | bash -s stable
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   184  100   184    0     0    581      0 --:--:-- --:--:-- --:--:--   580
100 22721  100 22721    0     0  35092      0 --:--:-- --:--:-- --:--:-- 35092

ERROR: Could not find 'which' command, make sure it's available first before continuing installation.

我在本地机器上使用 Mac OS X,我是新手 this.Any 建议 appreciated.Thank 你。

我通过 运行 这个命令解决了它:

$ yum install which