Update RVM list known

后端 未结 2 1426
名媛妹妹
名媛妹妹 2020-12-18 18:08

Is it possible to update the list of known rubies (what you get with rvm list known) without upgrading the entirety of rvm?

相关标签:
2条回答
  • 2020-12-18 18:24

    mpapis answer and opinion is 100% correct. The settings I had in my laptop is below.

    Add the the line rvm_autoupdate_flag=2 to ~/.rvmrc. It will auto update Rvm, all the time, whenever you will do like rvm list known.

    Example:

    arup@linux-wzza:~> rvm list known
    Warning, new version of rvm available '1.26.0', you are using older version '1.25.33'.
    You can disable this warning with:    echo rvm_autoupdate_flag=0 >> ~/.rvmrc
    You can enable  auto-update  with:    echo rvm_autoupdate_flag=2 >> ~/.rvmrc
    arup@linux-wzza:~> echo rvm_autoupdate_flag=2 >> ~/.rvmrc
    arup@linux-wzza:~> rvm list known
    Found old RVM 1.25.33 - updating.
    Downloading https://get.rvm.io
    Downloading https://github.com/wayneeseguin/rvm/archive/1.26.0.tar.gz
    Downloading https://github.com/wayneeseguin/rvm/releases/download/1.26.0/1.26.0.tar.gz.asc
    gpg: Signature made Wed 29 Oct 2014 06:22:06 PM IST using RSA key ID BF04FF17
    gpg: Can't check signature: No public key
    Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.
    Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).
    #....................
    #.....................
    
    0 讨论(0)
  • 2020-12-18 18:37

    No it is not, some of the version changes require changes in code, you should be good with sticking to stable to keep more stability (if that is your concern):

    rvm get stable
    

    you should be good with sticking to master (as it's stable) to get latest versions:

    rvm get master
    
    0 讨论(0)
提交回复
热议问题