How to update Ruby with Homebrew?

前端 未结 5 2061
一生所求
一生所求 2020-12-22 18:27

I want to know how to update to the latest stable version of Ruby with Homebrew. I am not interested in using RVM. Thanks.

5条回答
  •  甜味超标
    2020-12-22 18:35

    open terminal

    \curl -sSL https://get.rvm.io | bash -s stable

    restart terminal then

    rvm install ruby-2.4.2
    

    check ruby version it should be 2.4.2

提交回复
热议问题