Skip to content

Instantly share code, notes, and snippets.

View yuezhilunhui2009's full-sized avatar

yuezhilunhui2009 yuezhilunhui2009

  • Tencent
  • beijing
View GitHub Profile
@yuezhilunhui2009
yuezhilunhui2009 / cocoapods_upgrade
Created November 21, 2019 15:24
记录一次因系统升级导致 cocoapods 不可用的经历
1. 安装 rvm
curl -sSL https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer | bash -s stable
2. 查看 ruby 可用版本
rvm list known
3. 安装最新版 ruby
rvm install ruby-$version
4. 使用 gem 安装 cocoapods(使用 brew 重装不起作用)
gem install cocoapods