gpt4 book ai didi

ruby-on-rails - 等/bash.bashrc : line 2: GREP_OPTIONS: command not found

转载 作者:太空宇宙 更新时间:2023-11-04 09:48:40 24 4
gpt4 key购买 nike

当我在我的 Ubuntu 12 服务器上运行命令时,我收到以下警告...

etc/bash.bashrc: line 2: GREP_OPTIONS: command not found

我可能因为卸载各种 Rails 部分而搞砸了一些事情。我怎样才能解决这个问题?这是针对 root 用户的。谢谢。

我的 bashrc 文件的开头有以下...

type rvm >/dev/null 2>/dev/null || echo ${PATH} | GREP_OPTIONS \grep "" > /dev/null || export PATH="${PATH}:"

最佳答案

您似乎已经从系统中卸载了 rvm,因为它找不到 $rvm_path_bin。我建议注释掉 /etc/bash.bashrc 中的行。

关于ruby-on-rails - 等/bash.bashrc : line 2: GREP_OPTIONS: command not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13573251/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com