본문 바로가기

프로그래밍

gem install bundler permission issue

728x90
반응형

이런 에러가 발생할 경우

gem install bundler

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.

 

아래 명령어로 설치하면 됨

gem install bundler --user-install

 

 

 

https://bundler.io/doc/troubleshooting.html

 

Bundler: The best way to manage a Ruby application's gems

Troubleshooting common issues Stuck using Bundler? Browse these common issues before filing a new issue. Permission denied when installing bundler Certain operating systems such as MacOS and Ubuntu have versions of Ruby that require elevated privileges to

bundler.io

 

반응형