Problem installing RVM

后端 未结 8 1248
失恋的感觉
失恋的感觉 2021-02-04 12:24

I have executed the commands as prescribed in the instructions at the rvm website but things don\'t seem to work..

Fetching the code from the git repository runs smoothl

8条回答
  •  误落风尘
    2021-02-04 13:19

    I have executed the commands as prescribed in the instructions at the rvm website.

    WHICH commands? There are several pages containing instructions to install RVM depending on whether you want a single-user "sandbox" or are installing system-wide for a multi-user system as the administrator.

    Because you have RVM in /usr/local, I think you tried to do a system-wide install but didn't get it right. For 99% of us, that is the wrong installation method, and instead you should use the single-user installation, which is simple and puts everything in ~/.rvm.

    Either way, be sure to read the entire instructions. And, if doing a single-user install, finish the install with the "Post Install" modifications to ~/.bashrc or ~/.bash_profile for a single-user, then start a new terminal session.

    When using the single-user install NEVER use sudo to install gems to a RVM-managed Ruby, even though the instructions for a gem might say to.

提交回复
热议问题