I'm getting “RVM is not a function” error on Mac OS X, and no posted solutions work

后端 未结 3 2044
忘掉有多难
忘掉有多难 2021-02-19 01:40

I\'m on Mac OS x 10.8.2 (\"Mountain Lion\"), and I successfully installed RVM 1.17.8 and its dependencies. I\'m able to use it to install Ruby versions using rvm install 1

3条回答
  •  一向
    一向 (楼主)
    2021-02-19 02:08

    The solution ended up being on the RVM Help & Support page, in the ".bash_profile not being loaded on OSX" section. It seems that the issue was that I had my terminal set to open with the "default login shell" and when I changed it to instead open with the command "/usr/bash" in Preferences/Setup, "source ~/.rvm/scripts/rvm" started working, and rvm is now being recognized as a function.

提交回复
热议问题