Received Warning message “Path set to RVM” after updating ruby version using rvm

后端 未结 7 1915
南旧
南旧 2021-01-30 01:54

Recently I tried to update my ruby version due to a warning message (see below).

Now I get the following warning message when I start my iterm2:

Warning:         


        
7条回答
  •  心在旅途
    2021-01-30 02:27

    If you find a line after User configuration in the ~/.zshrc file like this:

    #export PATH="/Users/robinwen/.rvm/gems/ruby-1.9.3-p551@robin/bin:/Users/robinwen/.rvm/gems/ruby-1.9.3-p551@global/bin:/Users/robinwen/.rvm/rubies/ruby-1.9.3-p551/bin:/Users/robinwen/.rvm/bin:/usr/local/git/bin:/sw/bin:/usr/local/bin:/usr/local:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/"

    You should comment this line, and add following line:

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

    Good luck!

提交回复
热议问题