brew, rbenv, rubygems, cocoapods
正确的安装顺序:
1. 安装 homebrew (brew.sh)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2. 安装 rbenv
brew install rbenv
rbenv init
rbenv install 3.1.2 #选最新版
rbenv global 3.1.2
3. 更新 rubygems
sudo gem upd.
原创
2022-04-14 17:13:09 ·
585 阅读 ·
0 评论