$ sudo gem install cocoapods
Password:
Fetching: i18n-0.7.0.gem (100%)
Successfully installed i18n-0.7.0
Fetching: thread_safe-0.3.5.gem (100%)
Successfully installed thread_safe-0.3.5
Fetching: tzinfo-1.2.2.gem (100%)
Successfully installed tzinfo-1.2.2
Fetching: minitest-5.8.4.gem (100%)
Successfully installed minitest-5.8.4
Fetching: activesupport-4.2.5.1.gem (100%)
Successfully installed activesupport-4.2.5.1
Fetching: nap-1.1.0.gem (100%)
Successfully installed nap-1.1.0
Fetching: fuzzy_match-2.0.4.gem (100%)
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/fuzzy_match
# julaud at julauddeMBP.lan in ~/www/ios/swift/PinGo/PinGo on git:master x [15:59:35]
$ sudo gem install cocoapods
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/fuzzy_match
PHP中文网2017-04-24 09:14:52
오류: gem을 실행하는 동안 ... (Errno::EPERM)
으아아아
권한 문제
Homebrew와 함께 Ruby를 설치해 보는 것은 어떨까요?
PHP中文网2017-04-24 09:14:52
운영체제는 OS X 10.11 Al Captain입니다. 이번 세대에서는 /usr/bin/
디렉터리를 잠그는 루트리스 기능이 새로 도입되었습니다. 해결 방법: /usr/bin/
이 아닌 /usr/local/bin/
:
StackOverflow에서