【发布时间】:2020-02-07 09:37:31
【问题描述】:
我正在尝试通过自制软件在终端中安装 ruby。
到目前为止我已经进入:
brew install rbenv
然后我下雨了
rbenv init
命令运行后我收到了
# Load rbenv automatically by appending
# the following to ~/.bash_profile:
eval "$(rbenv init -)"
我终于进入了:
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
我按照说明重新启动了我的终端,然后收到了
rbenv: no such command `init-'
在我的新终端的顶部。
错误信息:rbenv: no such command `init-'
预期的消息:没有,空白终端
【问题讨论】:
-
请在问题中包含您
~/.bash_profile中的相关行。
标签: ruby bash macos homebrew rbenv