rvm determine and install latest version of ruby

后端 未结 3 926
谎友^
谎友^ 2021-02-12 15:43

So far I only know how to do commands like

rvm 2.0.0

Fortunately Google tells me

The current stable version is 2.0.0-p2

相关标签:
3条回答
  • 2021-02-12 15:56

    I don't know of a way to have rvm just install the latest version automatically, but here's three simple commands using just rvm:

    rvm reload
    rvm list known # This will show all the available versions, including the latest
    rvm install <latest_version> # Replace <latest_version> with the latest shown by the last command
    
    0 讨论(0)
  • 2021-02-12 16:10

    it is enough to:

    rvm get stable
    rvm use ruby --install --default 
    

    it will update rvm, check for latest ruby - install it if missing - and set as default

    0 讨论(0)
  • 2021-02-12 16:10

    rvm install ruby-head should install the last known version.

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