How to update Ruby to 2.3.1 on macOS Sierra ?

macOS Sierra 上的ruby版本为 ruby 2.0.0p648, 但是在安装cocoapods的时候,提示 activesupport requires Ruby version >= 2.2.2。 有两种办法安装新版本的ruby: 一: 使用Homebrew来安装,如果没有安装Homebrew的话,首先安装

安装...