bash - Mac终端-bash:rbenv:找不到命令
问题描述
每次我在 Mac 上打开终端时,都会有以下输出:
-bash: rbenv: command not found
知道如何阻止它出现,因为它很烦人吗?
cat .*profile 结果:
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export PATH="$HOME/.rbenv/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
解决方案
推荐阅读
- apache-camel - 使用骆驼中的XML DSL将Json字符串拆分并在正文中添加添加对象
- android - 这怎么可能?axios 在没有网络的安卓平板上返回 200 条状态和数据
- php - 获取txt文件中两个行号之间的文本行
- python - 如何解决 Pandas 的 Key Error 19 问题?
- javascript - 热重载不适用于干净的反应项目?
- wildfly - 自定义模块无法在 wildfly-maven-plugin 中加载
- javascript - 增加输入框的宽度?删除单击按钮或输入框时出现的黑色轮廓?
- r - 如何在R中将每日数据转换为每周数据
- php - php数据库实例共享使用继承,找一个简短的例子
- reactjs - Moment.js 返回错误的日期