“RVM is not a function” error

后端 未结 10 1773
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-30 22:22

RVM is installed on my machine (running Mac OSX 10.6.8), correctly and it runs fine. The odd thing is that to run it, I have to use source ~/.rvm/scripts/rvm for ev

10条回答
  •  鱼传尺愫
    2021-01-30 22:59

    I had the same issue. I found the .profile file was not getting updated, so i added the same command that was added into .bash_profile:

    [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

    I don't know if this is the right way, but it worked...

提交回复
热议问题