search

Home  >  Q&A  >  body text

mac如何升级ruby到2.4.0

先来一发。我这种版本帝是无药可救的。
macos是最新系统多少我不记得了。。。正常通道最新的就对了
目前ruby版本是2.3.1。
我用rvm 无法升级到2.4.0或者2.3.3,请问怎么升级呢?

oops。。报错内容我背不出来。mac不在手边

怪我咯怪我咯2770 days ago1057

reply all(2)I'll reply

  • 迷茫

    迷茫2017-04-25 09:05:37

    First install the MAC package management program Homebrew and enter it in the terminal

    ruby -e "$(curl -fsSL \ https://raw.githubusercontent.com/Homebrew/install/master/install)

    Then use Homebrew to update Ruby:

    brew install ruby

    reply
    0
  • 世界只因有你

    世界只因有你2017-04-25 09:05:37

    1. Compile it yourself

    2. homebrew

    3. rbenv or rvm

    If it doesn’t take effect, there may be something wrong PATH

    reply
    0
  • Cancelreply