“RVM is not a function” error

后端 未结 10 1778
爱一瞬间的悲伤
爱一瞬间的悲伤 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:51

    You shouldn't need to edit anything as others suggest. Just go into your terminal's settings and select the "Run command as login shell". This will cause .profile to run on the next terminal instance. Reopen your terminal and you should be able to use rvm use 1.9.3 (or whatever version you installed).

    More info found on rvm.io (which is also a great place for answers)

    https://rvm.io/integration/gnome-terminal

提交回复
热议问题