RVM installed by Ruby not working?

前端 未结 10 1267
不知归路
不知归路 2020-12-04 23:36

I installed RVM using the single instruction mentioned at the RVM website (using git).

Then I installed Ruby version 1.9.2 and 1.8.7 using:

rvm insta         


        
10条回答
  •  悲哀的现实
    2020-12-05 00:27

    rvm use 2.6.3 --default can fix it, but when I shut down my Ubuntu, the problem appearance once again!! this link helped me.https://github.com/rvm/rvm/issues/3682

    1. sudo vim .bash_profile
    2. add the following two lines:
    [[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
    
    [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session as a function    
    

提交回复
热议问题