YESHTML5
You don't have write permissions for the /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0 directory. 본문
You don't have write permissions for the /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0 directory.
슬/도/아/밤/ 2022. 5. 23. 17:14ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0 directory.
빌드가 되지않아 pod install 다시해보고, 이 조차 안되어서
sudo gem install cocoapods
작동되지 않았다.
그냥 다시 ruby2.6 버젼때 설치해주었다.
rbenv global 2.6.3
그리고 나니
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
메시지가 나와서
gem install cocoapods
실행
참고사이트
https://pie001.github.io/entry/tech-note/0017/
https://github.com/rbenv/rbenv/issues/1267
Mac환경에서 ruby의 버젼 업데이트 방법
Mac환경에서 ruby의 버젼 업데이트 방법
pie001.github.io
https://meta.discourse.org/t/macos-installation-gem-filepermissionerror/155607
https://www.freecodecamp.org/news/do-not-use-mac-system-ruby-do-this-instead/
MacOS Installation Gem::FilePermissionError
When installing Discourse (for development) on my Mac I get this error: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory. How can I resolve this? Thanks.
meta.discourse.org
You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory. · Issue #1267 · rbenv/rbenv
I'm trying to install bundler on my Mac OS Catalina, but it isn't letting me, help muhammadyazid@Muhammads-MacBook-Pro ~ % gem install bundler ERROR: While executing gem ... (Gem::FilePermi...
github.com
'React,React-Native' 카테고리의 다른 글
useImage 이미지 불러올때 Resize적용가능하게 (0) | 2022.05.24 |
---|---|
Google Map 연동 (0) | 2022.05.24 |
react-native-device-info 앱빌드버젼표시하기 (0) | 2022.05.20 |
React-Native ActionSheet (0) | 2022.05.19 |
useModal hooks React-Native Modal 방법 (0) | 2022.05.19 |