커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
CocoaPods 설치 중 에러
앱개발 종합반 - 플러터 v8
1주차
북마크
정*수
댓글
6
추천
1
조회수
28
조회수
28
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.



안녕하세요.

Homebrew 설치 후 CocoaPods 설치를 하려는데, 설치가 되지 않고 계속 에러가 나는 것 같아서요.

어떻게 해결할 수 있을까요?





작성한 코드 및 에러 메세지

오류 발생 시, 작성한 코드 전체와 에러 메시지를 첨부해 주세요.

Last login: Sat May 20 23:46:03 on ttys000

jeong_heesoo@Heesoos-MacBook-Pro ~ % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

==> Checking for `sudo` access (which may request your password)...

Password:

==> This script will install:

/opt/homebrew/bin/brew

/opt/homebrew/share/doc/homebrew

/opt/homebrew/share/man/man1/brew.1

/opt/homebrew/share/zsh/site-functions/_brew

/opt/homebrew/etc/bash_completion.d/brew

/opt/homebrew




Press RETURN/ENTER to continue or any other key to abort:

==> /usr/bin/sudo /usr/sbin/chown -R jeong_heesoo:admin /opt/homebrew

==> Downloading and installing Homebrew...

HEAD is now at c265d3d33 Merge pull request #15464 from reitermarkus/brew-audit-output

Warning: /opt/homebrew/bin is not in your PATH.

  Instructions on how to configure your shell for Homebrew

  can be found in the 'Next steps' section below.

==> Installation successful!




==> Homebrew has enabled anonymous aggregate formulae and cask analytics.

Read the analytics documentation (and how to opt-out) here:

  https://docs.brew.sh/Analytics

No analytics data has been sent yet (nor will any be during this install run).




==> Homebrew is run entirely by unpaid volunteers. Please consider donating:

  https://github.com/Homebrew/brew#donations




==> Next steps:

- Run these two commands in your terminal to add Homebrew to your PATH:

    (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/jeong_heesoo/.zprofile

    eval "$(/opt/homebrew/bin/brew shellenv)"

- Run brew help to get started

- Further documentation:

    https://docs.brew.sh




jeong_heesoo@Heesoos-MacBook-Pro ~ % brew install cocoapods

sudo gem install cocoapods

zsh: command not found: brew

Password:

ERROR:  Error installing cocoapods:

	The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems was 6.1.7.3. Try installing it with `gem install activesupport -v 6.1.7.3` and then running the current command again

	activesupport requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.

jeong_heesoo@Heesoos-MacBook-Pro ~ % 

Tip 2) Ctrl+A(맥의 경우 Command+A) 단축키로 코드를 한 번에 선택할 수 있어요!



취소
 공유
취소
댓글 0
댓글 알림
나의얼굴