gpt4 book ai didi

ruby - RVM 列表 - 警告! PATH 设置不正确

转载 作者:数据小太阳 更新时间:2023-10-29 08:29:51 27 4
gpt4 key购买 nike

我知道这个问题之前已经被问过很多次了,但是我已经尝试了很多建议来让我的 ruby​​ 正常工作,但到目前为止没有任何效果。

运行 rvm list 时,我得到:

 Warning! PATH is not properly set up, '/Users/tom/.rvm/gems/ruby-2.4.1/bin' is not at first place.
Usually this is caused by shell initialization files. Search for 'PATH=...' entries.
You can also re-add RVM to your profile by running: 'rvm get stable --auto-dotfiles'.
To fix it temporarily in this shell session run: 'rvm use ruby-2.4.1'.
To ignore this error add rvm_silence_path_mismatch_check_flag=1 to your ~/.rvmrc file.

rvm rubies

ruby-2.0.0-p648 [ x86_64 ]
ruby-2.1.0 [ x86_64 ]
=* ruby-2.4.1 [ x86_64 ]

# => - current
# =* - current && default
# * - default

.bashrc:

  # Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$HOME/.rvm/bin:$PATH" # Add RVM to PATH for scripting

.bash_profile 中没有任何相关内容

最佳答案

试试这个 rvm reset然后运行:rvm version

如果问题还没有解决,请告诉我谢谢!

关于ruby - RVM 列表 - 警告! PATH 设置不正确,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50433316/

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