인프런 커뮤니티 질문&답변

강프로그래머님의 프로필 이미지

작성한 질문수

맛집 지도앱 만들기 (React Native + NestJS)

[1-2] 맥-iOS 환경 설정

sudo gem install cocoapods 오류 [해결 방법]

해결된 질문

24.04.22 22:26 작성

·

948

·

수정됨

1

1.png2.png[오류]

ERROR: Error installing cocoapods: The last version of drb (>= 0) to support your Ruby & RubyGems was 2.0.6. Try installing it with gem install drb -v 2.0.6 and then running the current command again drb requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.

 

오류: Cocoapod 설치 오류: Ruby 및 RubyGems를 지원하는 drb(>= 0)의 마지막 버전은 2.0.6입니다. gem install drb -v 2.0.6으로 설치한 후 현재 명령을 다시 실행해 보세요. drb에는 Ruby 버전 >= 2.7.0이 필요합니다. 현재 루비 버전은 2.6.10.210입니다.


 

3.png4.png

[오류]

ERROR: Error installing cocoapods: The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems was 6.1.7.7. Try installing it with gem install activesupport -v 6.1.7.7 and then running the current command again activesupport requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.

 

오류: Cocoapod 설치 오류: Ruby & RubyGems를 지원하는 마지막 activesupport 버전(>= 5.0, < 8)은 6.1.7.7입니다. gem install activesupport -v 6.1.7.7을 사용하여 설치한 후 현재 명령을 다시 실행해 보세요. activesupport에는 Ruby 버전 >= 2.7.0이 필요합니다. 현재 루비 버전은 2.6.10.210입니다.


5.png6.png

 

 

답변 1

0

Kyo님의 프로필 이미지
Kyo
지식공유자

2024. 04. 22. 22:49

에러해결 공유 감사합니다 👍