为什么每次我重新加载/重新启动shell后,总是找不到RVM

为什么每次我重新加载/重新启动shell后,总是找不到RVM,shell,rvm,Shell,Rvm,有几天,每当我重新启动shell并再次运行RVM时,我的RVM出现问题,总是说-bash:RVM:command not found,请问有什么建议吗 我目前正在使用Mac它对我有效 ln -s ~/.bashrc ~/.bash_profile [[ -s “$HOME/.rvm/scripts/rvm” ]] && source “$HOME/.rvm/scripts/rvm” rvm get stable --auto-dotfiles 那么你总是在重启shell之后安装

有几天,每当我重新启动shell并再次运行
RVM
时,我的RVM出现问题,总是说
-bash:RVM:command not found
,请问有什么建议吗

我目前正在使用Mac

它对我有效

ln -s ~/.bashrc ~/.bash_profile
[[ -s “$HOME/.rvm/scripts/rvm” ]] && source “$HOME/.rvm/scripts/rvm”
rvm get stable --auto-dotfiles

那么你总是在重启shell之后安装rvm吗?是的,但我已经找到了解决方案:数据关联