RVM:“sha256sum 也未找到 shasum" [英] RVM: "sha256sum nor shasum found"
问题描述
我刚刚在一台新机器上安装了 RVM,当切换到一个包含 .rvmrc
文件(我已经接受)的目录时,我得到:
I've just installed RVM on a new machine and when switching into a directory containing a .rvmrc
file (which I've accepted) I'm getting:
ERROR: Neither sha256sum nor shasum found in the PATH
我使用的是 OS X 10.5.8.— 可能在某处遗漏了什么.任何想法发生了什么以及如何解决这个问题?
I'm on OS X 10.5.8. — Probably missing something somewhere. Any ideas what's going on and how to fix this?
推荐答案
意味着您缺少/usr/bin 中的二进制文件,或者您的路径以某种方式缺少/usr/bin.打开一个新的 shell 并运行 echo $PATH |grep '/usr/bin' 看看它是否返回.此外, ls -alh/usr/bin/shasum 并确保二进制文件在那里并且可执行.OS X 上没有 sha256sum,只有 shasum.
Means you're missing the binary in /usr/bin or your path is somehow missing /usr/bin. Open a new shell and run echo $PATH | grep '/usr/bin' and see if its returned. Also, ls -alh /usr/bin/shasum and make sure the binary is there and executable. There is no sha256sum on OS X, just shasum.
这篇关于RVM:“sha256sum 也未找到 shasum"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!