Cannot install RVM . Permission denied in /usr/local/rvm

前端 未结 12 2721
旧时难觅i
旧时难觅i 2020-12-25 13:20

Based on my previous thread : RVM installed by Ruby not working? where i had installed RVM using the root user, I then had to entirely remove the RVM install and now i am in

12条回答
  •  离开以前
    2020-12-25 13:53

    Scott Bartell's solution worked for me. i am on a Digital Ocean premade image, where they had already setup rvm as root. 1. deleted /etc/rvmrc . 2. added export rvm_path=~/.rvm to ~/.bash_profile 3. logged out of ssh session to virtual machine 4. logged back in and presto!

    would have commented but rep is 3 points too low :)

提交回复
热议问题