원하는 버전설치가 바로 안되기 때문에 아래와 같이 진행하자.
brew install rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init - zsh)"
source ~/.zshrc
rbenv install 3.0.0 && rbenv rehash
rbenv global 3.0.0
경로확인
> which ruby
/Users/yechan/.rbenv/shims/ruby
> which -a gem
/Users/yechan/.rbenv/shims/gem
/usr/bin/gem
cocospods 설치해보자
gem install cocoapods
'iOS > Etc' 카테고리의 다른 글
nw_connection_copy_connected_local_endpoint_block_invoke 에러 해결 (0) | 2024.11.27 |
---|---|
mac에서 안드로이드 미러링 - scrcpy (0) | 2024.11.18 |
Homebrew 설치 후 brew 명령어가 먹지 않을때 (0) | 2024.01.26 |
pod install or remove (In M1) (0) | 2022.03.04 |
M1에서 Homebrew 설치 (0) | 2021.08.30 |