Notice
Recent Posts
Recent Comments
05-04 06:25
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Archives
Today
Total
관리 메뉴

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. 본문

React,React-Native

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:14
반응형

ERROR:  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

 

반응형
Comments