Getting “Warning! PATH is not properly set up” when doing rvm use 2.0.0 --default

前端 未结 16 987
不思量自难忘°
不思量自难忘° 2020-12-02 04:35

Above doesn\'t work first time, works 2nd time.

Try to set ruby version to 2.0.0 for any new shell windows.

Doing

$ rvm use 2.0.0 --default
<         


        
16条回答
  •  自闭症患者
    2020-12-02 04:48

    I was facing same issue. I found that in bashrc file

    export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
    export PATH=$HOME/local/bin:$PATH
    
    export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
    

    multiple entries for rvm. I commented one entry and its working fine.

    #export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
    #export PATH=$HOME/local/bin:$PATH
    
    export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
    

提交回复
热议问题