Error: Error installing cocoapods

Lumpen·2024년 2월 1일

sudo gem install 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.

gem install drb -v 2.0.6
이후 다시 sudo gem install cocoapods
또 한번의 에러 발생

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

gem install activesupport -v 6.1.7.6
설치하래서 또 했음..

다시 sudo gem install cocoapods 후 성공

새로 설치하면서 버전 이슈가 발생한 것 같다

profile
떠돌이 생활을 하는. 실업자, 부랑 생활을 하는

0개의 댓글