How to update Ruby with Homebrew?

前端 未结 5 2061
我寻月下人不归
我寻月下人不归 2020-12-22 17:53

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:44

    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

提交回复
热议问题